Fix attreibute for _dl_elf_hash

This commit is contained in:
Ulrich Drepper 2011-12-04 16:12:20 -05:00
parent 4efbd5cb39
commit 52ff5dd0e4
2 changed files with 3 additions and 1 deletions

View File

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

View 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;