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
|
#ifdef mkstemp
|
||||||
#undef mkstemp
|
#undef mkstemp
|
||||||
#endif
|
#endif
|
||||||
|
int mkstemp(char *);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* From glibc man page: 'In glibc versions 2.06 and earlier, the file is
|
* From glibc man page: 'In glibc versions 2.06 and earlier, the file is
|
||||||
|
|
|
@ -142,6 +142,7 @@ char *mkdtemp(char *path);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define mkstemp(x) _ssh_mkstemp(x)
|
#define mkstemp(x) _ssh_mkstemp(x)
|
||||||
|
int _ssh_mkstemp(char *);
|
||||||
|
|
||||||
#ifndef HAVE_DAEMON
|
#ifndef HAVE_DAEMON
|
||||||
int daemon(int nochdir, int noclose);
|
int daemon(int nochdir, int noclose);
|
||||||
|
|
Loading…
Reference in New Issue