diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-07 23:57:22 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-07 23:57:22 -0500 |
commit | a784e502472fb3a1afa4d01a47c66b52d23e00f6 (patch) | |
tree | 5ebaa084119dcffe41671a62e2e799b172c57d24 /elf/neededtest4.c | |
parent | 33808bf1164be2e7c8535bdd5ac398c75c33ed49 (diff) | |
download | glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.gz glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.xz glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.zip |
Remove pre-ISO C support
No more __const.
Diffstat (limited to 'elf/neededtest4.c')
-rw-r--r-- | elf/neededtest4.c | 6 |
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) |