summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/mktemp.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-10-22 14:52:30 +0000
committerphk <phk@FreeBSD.org>1995-10-22 14:52:30 +0000
commitd271416c7b484596bc5f9ce55a75f3dc9928bd6c (patch)
tree1eb85d4fd1a17fa5c1874841f5a96b604f990584 /lib/libc/stdio/mktemp.c
parent107ef321d3cc17d146d3ea2ef8e38b5964096061 (diff)
downloadFreeBSD-src-d271416c7b484596bc5f9ce55a75f3dc9928bd6c.zip
FreeBSD-src-d271416c7b484596bc5f9ce55a75f3dc9928bd6c.tar.gz
Minor cleanup, #include's and unused vars.
Added compile-time warning to an old funky function.
Diffstat (limited to 'lib/libc/stdio/mktemp.c')
-rw-r--r--lib/libc/stdio/mktemp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/mktemp.c b/lib/libc/stdio/mktemp.c
index 6cedd6a..3f5966e 100644
--- a/lib/libc/stdio/mktemp.c
+++ b/lib/libc/stdio/mktemp.c
@@ -40,6 +40,7 @@ static char sccsid[] = "@(#)mktemp.c 8.1 (Berkeley) 6/4/93";
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
+#include <unistd.h>
#include <ctype.h>
static int _gettemp();
OpenPOWER on IntegriCloud