summaryrefslogtreecommitdiff
path: root/elf/dl-misc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-07-16 07:18:53 -0700
committerUlrich Drepper <drepper@redhat.com>2009-07-16 07:18:53 -0700
commit55c4ce6885b577e2b29a4de674d4062a6882afe8 (patch)
tree054f639bf7509213926c2e8d1ac139c89da6ce6d /elf/dl-misc.c
parentc8027cced1d3e7803c440cb13d4294754d8791e2 (diff)
downloadglibc-55c4ce6885b577e2b29a4de674d4062a6882afe8.tar.gz
Remove warning and little optimization.
The prototype for _dl_higher_prime_number was missing. While at it, the function is now marked with internal_function.
Diffstat (limited to 'elf/dl-misc.c')
-rw-r--r--elf/dl-misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/dl-misc.c b/elf/dl-misc.c
index 7d4e1a1725..d50537ade7 100644
--- a/elf/dl-misc.c
+++ b/elf/dl-misc.c
@@ -315,6 +315,7 @@ _dl_name_match_p (const char *name, const struct link_map *map)
unsigned long int
+internal_function
_dl_higher_prime_number (unsigned long int n)
{
/* These are primes that are near, but slightly smaller than, a