Replaced calls to the custom strindex() and strrindex() functions with the

exactly equivalent and standard strchr() and strrchr() functions instead.
This commit is contained in:
dtrg
2006-07-23 20:01:02 +00:00
parent 80b4463439
commit 9c722420dd
40 changed files with 112 additions and 116 deletions

View File

@@ -25,7 +25,7 @@
extern FILE *db_out;
t_lineno currline;
t_lineno listline;
extern char *strrindex();
extern char *strrchr();
extern int interrupted;
#if __STDC__
@@ -465,7 +465,7 @@ newfile(id)
listfile = add_file(id->id_text);
listfile->sy_file->f_scope = FileScope;
}
find_language(strrindex(id->id_text, '.'));
find_language(strrchr(id->id_text, '.'));
}
int in_wheninvoked;