]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
tunables: Use correct unused attribute
authorFlorian Weimer <fweimer@redhat.com>
Sat, 31 Dec 2016 19:27:36 +0000 (20:27 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Sat, 31 Dec 2016 19:27:36 +0000 (20:27 +0100)
ChangeLog
elf/dl-tunables.h

index efcbe06a5a1849406330c962481e6380ad389e13..01ee23b2bc0c2034043487ca2b9faf882f497b72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-12-31  Florian Weimer  <fweimer@redhat.com>
+
+       * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
+
 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
 
        * manual/tunables.texi: New chapter.
index 033781856ac955a6ff20890a972fae74ac76b751..c11facc14afb0efebff14b3e84c96fa2325150bb 100644 (file)
@@ -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.  */
 }