aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-12-31 20:27:36 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-12-31 20:27:36 +0100
commit3c589b1a8a4401e258ba23a03fcbcc79b82393ab (patch)
tree4b8d80bed414a6a916ab34a600e209ded18b9c28
parent7715d3ab5095ac8b256cc1c26e16aebf96f10597 (diff)
downloadglibc-3c589b1a8a4401e258ba23a03fcbcc79b82393ab.tar
glibc-3c589b1a8a4401e258ba23a03fcbcc79b82393ab.tar.gz
glibc-3c589b1a8a4401e258ba23a03fcbcc79b82393ab.tar.bz2
glibc-3c589b1a8a4401e258ba23a03fcbcc79b82393ab.zip
tunables: Use correct unused attribute
-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. */
}