1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

Remove pre-ISO C support

No more __const.
This commit is contained in:
Ulrich Drepper
2012-01-07 23:57:22 -05:00
parent 33808bf116
commit a784e50247
209 changed files with 2420 additions and 2244 deletions

View File

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