From 3c589b1a8a4401e258ba23a03fcbcc79b82393ab Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sat, 31 Dec 2016 20:27:36 +0100 Subject: [PATCH] tunables: Use correct unused attribute --- ChangeLog | 4 ++++ elf/dl-tunables.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index efcbe06..01ee23b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-12-31 Florian Weimer + + * elf/dl-tunables.h (__tunables_init): Fix unused attribute. + 2016-12-31 Siddhesh Poyarekar * manual/tunables.texi: New chapter. diff --git a/elf/dl-tunables.h b/elf/dl-tunables.h index 0337818..c11facc 100644 --- a/elf/dl-tunables.h +++ b/elf/dl-tunables.h @@ -24,7 +24,7 @@ #if !HAVE_TUNABLES static inline void __always_inline -__tunables_init (char **unused __attribute_unused) +__tunables_init (char **unused __attribute__ ((unused))) { /* This is optimized out if tunables are not enabled. */ } -- 2.7.4