Quiet final set of warnings.

This commit is contained in:
hpa 2001-07-21 02:02:43 +00:00
parent 0034637792
commit 304cb0877c
5 changed files with 36 additions and 19 deletions

View file

@ -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
*/