summaryrefslogtreecommitdiffstats
path: root/libc/stdio/gets.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-23 03:18:04 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-23 03:18:04 +0000
commitaa39b0b2f79973652cbe219eaf580dd02bfb6670 (patch)
treeda509552c3be6e2fe908df1ad9540588be58b5e7 /libc/stdio/gets.c
parent9fe852f17f0d07dca9f33ef862618a3bd3cb3df0 (diff)
downloaduClibc-alpine-aa39b0b2f79973652cbe219eaf580dd02bfb6670.tar.bz2
uClibc-alpine-aa39b0b2f79973652cbe219eaf580dd02bfb6670.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/stdio/gets.c')
-rw-r--r--libc/stdio/gets.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/stdio/gets.c b/libc/stdio/gets.c
index 5ff7869dc..dc541339b 100644
--- a/libc/stdio/gets.c
+++ b/libc/stdio/gets.c
@@ -13,9 +13,7 @@ link_warning(gets, "the 'gets' function is dangerous and should not be used.")
libc_hidden_proto(getchar_unlocked)
libc_hidden_proto(__fgetc_unlocked)
-#ifdef __STDIO_GETC_MACRO
-libc_hidden_proto(__stdin)
-#else
+#ifndef __STDIO_GETC_MACRO
#define __stdin stdin
#endif