forked from mirrors/tftp-hpa-google
Quiet more warnings.
This commit is contained in:
parent
4bcf957aaf
commit
0034637792
3 changed files with 28 additions and 6 deletions
|
@ -46,6 +46,9 @@
|
|||
#define TFTPSUBS_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
struct tftphdr;
|
||||
|
||||
struct tftphdr *r_init(void);
|
||||
void read_ahead(FILE *, int);
|
||||
|
@ -66,4 +69,13 @@ extern int segsize;
|
|||
extern void *xmalloc(size_t);
|
||||
extern char *xstrdup(const char *);
|
||||
|
||||
/*
|
||||
* How to annotate unused variables
|
||||
*/
|
||||
#ifdef __GNUC__
|
||||
#define UNUSED __attribute__((unused))
|
||||
#else
|
||||
#define UNUSED
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue