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 babe9eafad
commit 014be56fb0
40 changed files with 112 additions and 116 deletions

View File

@@ -90,7 +90,7 @@ DoOption(text)
char c, *t;
while( c = *text++ ) {
char *strindex();
char *strchr();
t = text;
size = txt2int(&t);
@@ -100,7 +100,7 @@ DoOption(text)
align = txt2int(&t);
text = t;
}
if( !strindex("wilfpS", c) )
if( !strchr("wilfpS", c) )
error("-V: bad type indicator %c\n", c);
if( size )
switch( c ) {