summaryrefslogtreecommitdiffstats
path: root/libc/stdio/gets.c
diff options
context:
space:
mode:
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