summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-12-04 16:12:20 -0500
committerUlrich Drepper <drepper@gmail.com>2011-12-04 16:12:20 -0500
commit52ff5dd0e4ad6436def42b58bc8abe5b534cf739 (patch)
tree705b3c84f7be91f25e215a428c42bb7c5bd318bb /sysdeps/generic
parent4efbd5cb39dfa170056532185c724ab2ff545585 (diff)
downloadglibc-52ff5dd0e4ad6436def42b58bc8abe5b534cf739.tar.gz
glibc-52ff5dd0e4ad6436def42b58bc8abe5b534cf739.tar.xz
glibc-52ff5dd0e4ad6436def42b58bc8abe5b534cf739.zip
Fix attreibute for _dl_elf_hash
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/dl-hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-hash.h b/sysdeps/generic/dl-hash.h
index 37a7a42ced..e35bd25a33 100644
--- a/sysdeps/generic/dl-hash.h
+++ b/sysdeps/generic/dl-hash.h
@@ -25,7 +25,7 @@
    first five operations no overflow is possible so we optimized it a
    bit.  */
 static unsigned int
-__attribute__ ((used))
+__attribute__ ((unused))
 _dl_elf_hash (const char *name_arg)
 {
   const unsigned char *name = (const unsigned char *) name_arg;