forked from mirrors/tftp-hpa-google
Quiet final set of warnings.
This commit is contained in:
parent
0034637792
commit
304cb0877c
5 changed files with 36 additions and 19 deletions
|
@ -47,6 +47,9 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
#include <setjmp.h>
|
||||
#include "../config.h"
|
||||
|
||||
struct tftphdr;
|
||||
|
||||
|
@ -69,6 +72,17 @@ extern int segsize;
|
|||
extern void *xmalloc(size_t);
|
||||
extern char *xstrdup(const char *);
|
||||
|
||||
/*
|
||||
* Signal-related stuff
|
||||
*/
|
||||
void bsd_signal(int, void (*)(int));
|
||||
|
||||
#ifndef HAVE_SIGSETJMP
|
||||
#define sigsetjmp(x,y) setjmp(x)
|
||||
#define siglongjmp(x,y) longjmp(x,y)
|
||||
#define sigjmp_buf jmp_buf
|
||||
#endif
|
||||
|
||||
/*
|
||||
* How to annotate unused variables
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue