summaryrefslogtreecommitdiff
path: root/include/stdio.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-11-21 14:49:42 +0000
committerEric Andersen <andersen@codepoet.org>2001-11-21 14:49:42 +0000
commit34f7c5e5bec4a306b5fe4618823cec7875ef6c5b (patch)
treedca492cb36ad4a1eac2090114dd6562930331bc8 /include/stdio.h
parent922abaa8768220880be005440ac2f6cb3220caf4 (diff)
Finish off the getc putc adjustment
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/stdio.h b/include/stdio.h
index e92220186..24cf46b26 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -381,10 +381,6 @@ extern int getchar (void) __THROW;
(((stream)->bufpos >= (stream)->bufread) ? fgetc(stream): \
(*(stream)->bufpos++))
-/* getchar() is equivalent to getc(stdin). Since getc is a macro,
- * that means that getchar() should be a macro too... */
-#define getchar() getc(stdin)
-
#if defined __USE_POSIX || defined __USE_MISC
/* These are defined in POSIX.1:1996. */
extern int getc_unlocked (FILE *__stream) __THROW;
@@ -409,10 +405,6 @@ extern int putchar (int __c) __THROW;
#define putc(c, stream) \
(((stream)->bufpos >= (stream)->bufwrite) ? fputc((c), (stream)) \
: (unsigned char) (*(stream)->bufpos++ = (c)) )
-/* putchar() is equivalent to putc(c,stdout). Since putc is a macro,
- * that means that putchar() should be a macro too... */
-#define putchar(c) putc((c), stdout)
-
#ifdef __USE_MISC
/* Faster version when locking is not necessary. */