diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1995-10-04 18:29:01 +0000 | 
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1995-10-04 18:29:01 +0000 | 
| commit | 216b9a0d22e9a493effdd710e91700cf262aea76 (patch) | |
| tree | 783159a174b10af9016c72c254a2a56abd74d4ba /lib/libc/stdio/gets.c | |
| parent | 7283aacac2c09cba2d18ede3120033ed3056709e (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/gets.c')
| -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 a22fd9dde1ff..d31aeeef9148 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) | 
