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 #include +#include + +__warn_references(gets, "warning: this program uses gets(), which is unsafe."); char * gets(buf)