mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-17 23:54:35 +00:00
Add prototypes for mkstemp replacements.
Should prevent warnings due to our wrapper function.
This commit is contained in:
parent
4e04d68d6a
commit
bf4dae0ad1
@ -37,6 +37,7 @@
|
||||
#ifdef mkstemp
|
||||
#undef mkstemp
|
||||
#endif
|
||||
int mkstemp(char *);
|
||||
|
||||
/*
|
||||
* From glibc man page: 'In glibc versions 2.06 and earlier, the file is
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user