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
|
@ -62,18 +62,6 @@ int writeit(FILE *, struct tftphdr **, int, int);
|
|||
extern int segsize;
|
||||
#define MAX_SEGSIZE 65464
|
||||
|
||||
/*
|
||||
* Prototype for xmalloc/xstrdup
|
||||
*/
|
||||
extern void *xmalloc(size_t);
|
||||
extern char *xstrdup(const char *);
|
||||
|
||||
/*
|
||||
* Signal-related stuff
|
||||
*/
|
||||
void (*bsd_signal(int, void (*)(int)))(int);
|
||||
int pick_port_bind(int sockfd, struct sockaddr_in *myaddr, unsigned int from, unsigned int to);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
int pick_port_bind(int sockfd, struct sockaddr_in *myaddr, unsigned int from, unsigned int to);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue