diff options
-rw-r--r-- | lib/libc/stdio/gets.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/stdio/gets.c b/lib/libc/stdio/gets.c index a22fd9d..d31aeee 100644 --- a/lib/libc/stdio/gets.c +++ b/lib/libc/stdio/gets.c @@ -40,6 +40,9 @@ static char sccsid[] = "@(#)gets.c 8.1 (Berkeley) 6/4/93"; #include <unistd.h> #include <stdio.h> +#include <sys/cdefs.h> + +__warn_references(gets, "warning: this program uses gets(), which is unsafe."); char * gets(buf) |