tunables: Use correct unused attribute

This commit is contained in:
Florian Weimer 2016-12-31 20:27:36 +01:00
parent 7715d3ab50
commit 3c589b1a8a
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View 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. */
}