mirror of
https://github.com/rfc1036/whois.git
synced 2026-08-31 07:30:22 +00:00
Use __attribute__((unused))
This commit is contained in:
parent
e2b38d570b
commit
bd1c31c597
2
utils.h
2
utils.h
@ -18,9 +18,11 @@
|
||||
#ifdef __GNUC__
|
||||
# define NORETURN __attribute__((noreturn))
|
||||
# define NONNULL __attribute__((returns_nonnull))
|
||||
# define UNUSED __attribute__((unused))
|
||||
#else
|
||||
# define NORETURN
|
||||
# define NONNULL
|
||||
# define UNUSED
|
||||
#endif
|
||||
#if defined __GNUC__ && !defined __clang__
|
||||
# define MALLOC_FREE __attribute__((malloc(free)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user