]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix attreibute for _dl_elf_hash
authorUlrich Drepper <drepper@gmail.com>
Sun, 4 Dec 2011 21:12:20 +0000 (16:12 -0500)
committerUlrich Drepper <drepper@gmail.com>
Sun, 4 Dec 2011 21:12:20 +0000 (16:12 -0500)
ChangeLog
sysdeps/generic/dl-hash.h

index 6416f9e75b491af0d55e4349e7e81f1518cb7d9b..0dfff5cfb5307b0ace0c312e15da6ee2c7c5b2ac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
 
+       * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
+
        * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
        * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
        * sunrpc/clnt_udp.c (clntudp_call): Likewise.
index 37a7a42ced42c5ab3766ef5bae48cdc449168e98..e35bd25a3319a26ef87589d2f3df548f6fbac896 100644 (file)
@@ -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;