summaryrefslogtreecommitdiff
path: root/libc/stdio/gets.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-10 16:20:23 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-10 16:20:23 +0000
commit42c1ad48fa946f00d67d0b023f50e5d6d8fc293f (patch)
treef510bb36f58711b809103832fa826b0de13df593 /libc/stdio/gets.c
parent7747ec45650949ca4712be8e2cbc0588c0922982 (diff)
Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, most of global data relocations are back
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