summaryrefslogtreecommitdiff
path: root/bsd-mktemp.c
diff options
context:
space:
mode:
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 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 @@
42static char rcsid[] = "$OpenBSD: mktemp.c,v 1.13 1998/06/30 23:03:13 deraadt Exp $"; 42static 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
57static int _gettemp(char *, int *, int, int); 45static int _gettemp(char *, int *, int, int);
58 46
59int 47int