summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2023-03-10 14:46:57 +1100
committerDarren Tucker <dtucker@dtucker.net>2023-03-10 14:46:57 +1100
commitbf4dae0ad192c3e2f03f7223834b00d88ace3d3e (patch)
tree3d392ce58f903669e770dfa598bfed2d8acd16ec /openbsd-compat/openbsd-compat.h
parent4e04d68d6a33cdc73b831fd4b5e6124175555d3d (diff)
Add prototypes for mkstemp replacements.
Should prevent warnings due to our wrapper function.
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r--openbsd-compat/openbsd-compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index cc4cf205..78faea96 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -142,6 +142,7 @@ char *mkdtemp(char *path);
#endif
#define mkstemp(x) _ssh_mkstemp(x)
+int _ssh_mkstemp(char *);
#ifndef HAVE_DAEMON
int daemon(int nochdir, int noclose);