diff options
Diffstat (limited to 'lib/libc/stdio/mktemp.c')
-rw-r--r-- | lib/libc/stdio/mktemp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdio/mktemp.c b/lib/libc/stdio/mktemp.c index bc69c6f265f..76dba5bff37 100644 --- a/lib/libc/stdio/mktemp.c +++ b/lib/libc/stdio/mktemp.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: mktemp.c,v 1.3 1996/12/28 02:33:10 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: mktemp.c,v 1.4 1997/01/19 22:32:22 graichen Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -63,8 +63,10 @@ _mktemp(path) return(_gettemp(path, (int *)NULL) ? path : (char *)NULL); } +#ifndef NO_WARN_REFERENCES __warn_references(mktemp, "warning: mktemp() possibly used unsafely; consider using mkstemp()"); +#endif char * mktemp(path) |