diff options
author | Damien Miller <djm@mindrot.org> | 2000-08-30 09:21:22 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-08-30 09:21:22 +1100 |
commit | 87d29ed405ce6a6aa56660c9c696f6b78a709034 (patch) | |
tree | 1e835a3e9e18b7956b511860e9186f52ea9679c3 /bsd-mktemp.c | |
parent | e5192fafbfbc49afaa64c7b9f3c8d90efe2f1297 (diff) |
- (djm) Compile warning fixes from Mark Miller <markm@swoon.net>
Diffstat (limited to 'bsd-mktemp.c')
-rw-r--r-- | bsd-mktemp.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/bsd-mktemp.c b/bsd-mktemp.c index 23831fa91..e8ffd0219 100644 --- a/bsd-mktemp.c +++ b/bsd-mktemp.c | |||
@@ -34,7 +34,7 @@ | |||
34 | * SUCH DAMAGE. | 34 | * SUCH DAMAGE. |
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "config.h" | 37 | #include "includes.h" |
38 | 38 | ||
39 | #ifndef HAVE_MKDTEMP | 39 | #ifndef HAVE_MKDTEMP |
40 | 40 | ||
@@ -42,18 +42,6 @@ | |||
42 | static char rcsid[] = "$OpenBSD: mktemp.c,v 1.13 1998/06/30 23:03:13 deraadt Exp $"; | 42 | static char rcsid[] = "$OpenBSD: mktemp.c,v 1.13 1998/06/30 23:03:13 deraadt Exp $"; |
43 | #endif /* LIBC_SCCS and not lint */ | 43 | #endif /* LIBC_SCCS and not lint */ |
44 | 44 | ||
45 | #include <sys/types.h> | ||
46 | #include <sys/stat.h> | ||
47 | #include <fcntl.h> | ||
48 | #include <errno.h> | ||
49 | #include <stdio.h> | ||
50 | #include <stdlib.h> | ||
51 | #include <ctype.h> | ||
52 | #include <unistd.h> | ||
53 | |||
54 | #include "bsd-misc.h" | ||
55 | #include "bsd-arc4random.h" | ||
56 | |||
57 | static int _gettemp(char *, int *, int, int); | 45 | static int _gettemp(char *, int *, int, int); |
58 | 46 | ||
59 | int | 47 | int |