$NetBSD: patch-af,v 1.1 2007/10/05 21:14:00 rillig Exp $ Programming in C before 1989 must have been really painful. --- parse.c.orig 1990-02-05 21:17:19.000000000 +0100 +++ parse.c 2007-10-05 23:08:43.000000000 +0200 @@ -68,9 +68,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 +75,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