summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/mktemp.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1999-10-24 11:57:24 +0000
committerache <ache@FreeBSD.org>1999-10-24 11:57:24 +0000
commit490fc835e877c6fe352b18588ad0098d169209e5 (patch)
tree4a3768933426d936762d82b0a14dde763609285f /lib/libc/stdio/mktemp.c
parentad5952ca34ef839789a2fc37d4eef775ce60e3be (diff)
downloadFreeBSD-src-490fc835e877c6fe352b18588ad0098d169209e5.zip
FreeBSD-src-490fc835e877c6fe352b18588ad0098d169209e5.tar.gz
Remove UNSAFE_WARN ifdef for mktemp warning (never defined)
Use _mktemp internally
Diffstat (limited to 'lib/libc/stdio/mktemp.c')
-rw-r--r--lib/libc/stdio/mktemp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/stdio/mktemp.c b/lib/libc/stdio/mktemp.c
index ec03f71..0d1712e 100644
--- a/lib/libc/stdio/mktemp.c
+++ b/lib/libc/stdio/mktemp.c
@@ -85,10 +85,8 @@ _mktemp(path)
return(_gettemp(path, (int *)NULL, 0, 0) ? path : (char *)NULL);
}
-#ifdef UNSAFE_WARN
__warn_references(mktemp,
"warning: mktemp() possibly used unsafely; consider using mkstemp()");
-#endif
char *
mktemp(path)
OpenPOWER on IntegriCloud