about summary refs log tree commit diff
path: root/elf/dynamic-link.h
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dynamic-link.h')
-rw-r--r--elf/dynamic-link.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dynamic-link.h b/elf/dynamic-link.h
index 45b6b2dcde..e4bb022dcf 100644
--- a/elf/dynamic-link.h
+++ b/elf/dynamic-link.h
@@ -24,7 +24,7 @@ Cambridge, MA 02139, USA.  */
 
 /* Read the dynamic section at DYN and fill in INFO with indices DT_*.  */
 
-static inline void
+static inline void __attribute__ ((unused))
 elf_get_dynamic_info (ElfW(Dyn) *dyn, ElfW(Dyn) *info[DT_NUM + DT_PROCNUM])
 {
   unsigned int i;