--- parse.c.orig Mon Feb 5 21:17:19 1990 +++ parse.c Fri Jun 24 19:09:49 2011 @@ -11,6 +11,7 @@ static char rcsid[]= "$Header: /var/www/space/cvs/ports/textproc/spiff/patches/patch-parse_c,v 1.2 2022/03/11 20:03:31 naddy Exp $"; #endif +#include #include "misc.h" #include "flagdefs.h" #include "float.h" @@ -68,9 +69,6 @@ static _P_in_alpha(chr) char chr; { -#ifndef ATT - extern int index(); -#endif /* ** special case when string terminator ** is handed to us @@ -78,11 +76,7 @@ char chr; if ('\0' == chr) return(0); -#ifdef ATT - return((int) strchr(_P_alpha,chr)); -#else - return((int) index(_P_alpha,chr)); -#endif + return(strchr(_P_alpha,chr) != NULL); } void