summaryrefslogtreecommitdiffstats
path: root/bsd-mktemp.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-08-30 09:21:22 +1100
committerDamien Miller <djm@mindrot.org>2000-08-30 09:21:22 +1100
commit87d29ed405ce6a6aa56660c9c696f6b78a709034 (patch)
tree1e835a3e9e18b7956b511860e9186f52ea9679c3 /bsd-mktemp.c
parente5192fafbfbc49afaa64c7b9f3c8d90efe2f1297 (diff)
- (djm) Compile warning fixes from Mark Miller <markm@swoon.net>
Diffstat (limited to 'bsd-mktemp.c')
-rw-r--r--bsd-mktemp.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/bsd-mktemp.c b/bsd-mktemp.c
index 23831fa9..e8ffd021 100644
--- a/bsd-mktemp.c
+++ b/bsd-mktemp.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*/
-#include "config.h"
+#include "includes.h"
#ifndef HAVE_MKDTEMP
@@ -42,18 +42,6 @@
static char rcsid[] = "$OpenBSD: mktemp.c,v 1.13 1998/06/30 23:03:13 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <unistd.h>
-
-#include "bsd-misc.h"
-#include "bsd-arc4random.h"
-
static int _gettemp(char *, int *, int, int);
int