summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fgets.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/fgets.c')
-rw-r--r--libc/stdio/fgets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/fgets.c b/libc/stdio/fgets.c
index 031eadaaf..ae2ecdc8d 100644
--- a/libc/stdio/fgets.c
+++ b/libc/stdio/fgets.c
@@ -71,6 +71,7 @@ libc_hidden_def(fgets)
#elif defined __UCLIBC_HAS_THREADS__
+libc_hidden_proto(fgets)
char *fgets(char *__restrict s, int n,
register FILE * __restrict stream)
{
@@ -85,7 +86,6 @@ char *fgets(char *__restrict s, int n,
return retval;
}
-libc_hidden_proto(fgets)
libc_hidden_def(fgets)
#endif