forked from mirrors/tftp-hpa-google
Prototype cleanup; use "config.h" where appropriate
This commit is contained in:
parent
d9938a7d83
commit
d15a61abe6
5 changed files with 19 additions and 23 deletions
15
config.h
15
config.h
|
@ -287,6 +287,21 @@ typedef int socklen_t;
|
|||
#define EOPTNEG 8
|
||||
#endif
|
||||
|
||||
/* Prototypes for libxtra functions */
|
||||
|
||||
void *xmalloc(size_t);
|
||||
char *xstrdup(const char *);
|
||||
|
||||
#ifndef HAVE_BSD_SIGNAL
|
||||
void (*bsd_signal(int, void (*)(int)))(int);
|
||||
#endif
|
||||
#ifndef HAVE_DUP2
|
||||
int dup2(int, int);
|
||||
#endif
|
||||
#ifndef HAVE_DAEMON
|
||||
int daemon(int, int);
|
||||
#endif
|
||||
|
||||
/* tftp-hpa version and configuration strings */
|
||||
|
||||
#include "version.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue