aboutsummaryrefslogtreecommitdiff
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 efcbe06..01ee23b 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 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. */
}