summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/stdio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdio/stdio.c b/libc/stdio/stdio.c
index 954318d39..a7dd8a3ba 100644
--- a/libc/stdio/stdio.c
+++ b/libc/stdio/stdio.c
@@ -314,6 +314,7 @@ char *fgets(char *s, int count, FILE *fp)
#endif
#ifdef L_gets
+link_warning (gets, "the `gets' function is dangerous and should not be used.")
char *gets(char *str) /* This is an UNSAFE function! */
{
/*