forked from mirrors/tftp-hpa-google
Quiet warnings.
This commit is contained in:
parent
b9ca0ec54b
commit
4bcf957aaf
2 changed files with 14 additions and 4 deletions
|
@ -51,4 +51,10 @@ void set_signal(int, void (*)(int), int);
|
|||
void *tfmalloc(size_t);
|
||||
char *tfstrdup(const char *);
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define UNUSED __attribute__((unused))
|
||||
#else
|
||||
#define UNUSED
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue