summaryrefslogtreecommitdiff
path: root/mktemp.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-10-28 14:12:54 +1000
committerDamien Miller <djm@mindrot.org>1999-10-28 14:12:54 +1000
commite413cba972feb60d3d4d104c0c93320435610d1b (patch)
treed712398819471c56f89ea3fc7a4fa5fb8db38690 /mktemp.c
parent062307657e30c9b970514eb53b4b743f9d571231 (diff)
Disabled code based on autoconf tests
Diffstat (limited to 'mktemp.c')
-rw-r--r--mktemp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mktemp.c b/mktemp.c
index 69dc4dc6f..de11a6b53 100644
--- a/mktemp.c
+++ b/mktemp.c
@@ -47,8 +47,11 @@ static char rcsid[] = "$OpenBSD: mktemp.c,v 1.13 1998/06/30 23:03:13 deraadt Exp
47#include <ctype.h> 47#include <ctype.h>
48#include <unistd.h> 48#include <unistd.h>
49 49
50#include "config.h"
50#include "helper.h" 51#include "helper.h"
51 52
53#ifndef HAVE_MKDTEMP
54
52static int _gettemp __P((char *, int *, int, int)); 55static int _gettemp __P((char *, int *, int, int));
53 56
54int 57int
@@ -181,3 +184,5 @@ _gettemp(path, doopen, domkdir, slen)
181 } 184 }
182 /*NOTREACHED*/ 185 /*NOTREACHED*/
183} 186}
187
188#endif /* !HAVE_MKDTEMP */