summaryrefslogtreecommitdiff
path: root/sysdeps/generic/dl-hash.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-12-03 21:49:35 -0500
committerUlrich Drepper <drepper@gmail.com>2011-12-03 21:49:35 -0500
commitaff2453df710c872588572a31928cff0e47da5b7 (patch)
tree2a1c043af3ac1c85611df33b65d2c8564d1af42a /sysdeps/generic/dl-hash.h
parent8a426e128913405e15316cfa897c48c69a2f6054 (diff)
downloadglibc-aff2453df710c872588572a31928cff0e47da5b7.tar.gz
Fix more warnings
Diffstat (limited to 'sysdeps/generic/dl-hash.h')
-rw-r--r--sysdeps/generic/dl-hash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-hash.h b/sysdeps/generic/dl-hash.h
index 243ae14b51..37a7a42ced 100644
--- a/sysdeps/generic/dl-hash.h
+++ b/sysdeps/generic/dl-hash.h
@@ -1,5 +1,5 @@
/* Compute hash value for given string according to ELF standard.
- Copyright (C) 1995,1996,1997,1998,2003,2005 Free Software Foundation, Inc.
+ Copyright (C) 1995-1998,2003,2005,2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -25,6 +25,7 @@
first five operations no overflow is possible so we optimized it a
bit. */
static unsigned int
+__attribute__ ((used))
_dl_elf_hash (const char *name_arg)
{
const unsigned char *name = (const unsigned char *) name_arg;