summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-07 23:57:22 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-07 23:57:22 -0500
commita784e502472fb3a1afa4d01a47c66b52d23e00f6 (patch)
tree5ebaa084119dcffe41671a62e2e799b172c57d24 /elf
parent33808bf1164be2e7c8535bdd5ac398c75c33ed49 (diff)
downloadglibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.gz
Remove pre-ISO C support
No more __const.
Diffstat (limited to 'elf')
-rw-r--r--elf/neededtest4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/neededtest4.c b/elf/neededtest4.c
index bd79341fb2..0ae0b7ff47 100644
--- a/elf/neededtest4.c
+++ b/elf/neededtest4.c
@@ -36,7 +36,7 @@ check_loaded_objects (const char **loaded)
for (n = 0; loaded[n] != NULL; n++)
{
if (strcmp (basename (loaded[n]), basename (lm->l_name)) == 0)
- {
+ {
found[n] = 1;
match = 1;
break;
@@ -54,7 +54,7 @@ check_loaded_objects (const char **loaded)
for (n = 0; loaded[n] != NULL; n++)
{
if (found[n] == 0)
- {
+ {
++errors;
printf ("ERRORS: %s is not loaded\n", loaded[n]);
}
@@ -64,7 +64,7 @@ check_loaded_objects (const char **loaded)
}
extern void c_function (void);
-extern char *dirname (__const char *__filename);
+extern char *dirname (const char *__filename);
int
main (int argc, char **argv)