mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 12:13:20 -04:00
Define ISC_ATTR_UNUSED macro for __attribute__((__unused__))
The ISC_ATTR_UNUSED macro was missing in BIND 9.18, which complicated things when backporting merge requests from main. As __attribute__((__unused__)) is ubiquitous, just define the macro.
This commit is contained in:
parent
38a8fc87c5
commit
b73a385696
1 changed files with 2 additions and 0 deletions
|
|
@ -80,3 +80,5 @@
|
|||
#define ISC_ATTR_MALLOC_DEALLOCATOR(deallocator)
|
||||
#define ISC_ATTR_MALLOC_DEALLOCATOR_IDX(deallocator, idx)
|
||||
#endif /* HAVE_FUNC_ATTRIBUTE_MALLOC */
|
||||
|
||||
#define ISC_ATTR_UNUSED __attribute__((__unused__))
|
||||
|
|
|
|||
Loading…
Reference in a new issue