about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--elf/dl-tunables.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index efcbe06a5a..01ee23b2bc 100644
--- 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.
diff --git a/elf/dl-tunables.h b/elf/dl-tunables.h
index 033781856a..c11facc14a 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.  */
 }