diff options
author | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-01-20 07:47:03 +0000 |
---|---|---|
committer | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-01-20 07:47:03 +0000 |
commit | a712527340cfa65d54620eebac075dfc894a6b98 (patch) | |
tree | 1e30a350b4b7201366fc0ac51809bf08577bf8e8 /lib/libc/stdio/tempnam.c | |
parent | 8ac1042d163fa341e5795d47c6f88d6ce21a2ccb (diff) |
back out my last change to avoid the __warn_references on the mips - it's
now done for the pmax like for the arc in machine/cdefs.h
Diffstat (limited to 'lib/libc/stdio/tempnam.c')
-rw-r--r-- | lib/libc/stdio/tempnam.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdio/tempnam.c b/lib/libc/stdio/tempnam.c index 7aa195e3593..9e5b71177f5 100644 --- a/lib/libc/stdio/tempnam.c +++ b/lib/libc/stdio/tempnam.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: tempnam.c,v 1.6 1997/01/19 22:32:22 graichen Exp $"; +static char rcsid[] = "$OpenBSD: tempnam.c,v 1.7 1997/01/20 07:46:57 graichen Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -43,10 +43,8 @@ static char rcsid[] = "$OpenBSD: tempnam.c,v 1.6 1997/01/19 22:32:22 graichen Ex #include <unistd.h> #include <paths.h> -#ifndef NO_WARN_REFERENCES __warn_references(tempnam, "warning: tempnam() possibly used unsafely; consider using mkstemp()"); -#endif extern char *_mktemp __P((char *)); |