Move MinGW specific declaration of mkstmp() up to avoid warnings.

The declaration is needed in the xmkstmp() implementation.
This commit is contained in:
Johannes Sixt
2007-08-17 12:27:54 +02:00
parent 4e83e2adec
commit a9601507cf

View File

@@ -54,6 +54,8 @@
#include <sys/poll.h>
#include <sys/socket.h>
#include <sys/select.h>
#else
int mkstemp (char *__template);
#endif
#include <assert.h>
#include <regex.h>
@@ -435,7 +437,6 @@ int kill(pid_t pid, int sig);
unsigned int sleep (unsigned int __seconds);
const char *inet_ntop(int af, const void *src,
char *dst, size_t cnt);
int mkstemp (char *__template);
int gettimeofday(struct timeval *tv, void *tz);
int pipe(int filedes[2]);