SCCS-vsn: usr.bin/find/option.c 5.8
-static char sccsid[] = "@(#)option.c 5.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)option.c 5.8 (Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
char *name;
{
OPTION tmp;
char *name;
{
OPTION tmp;
+ int typecompare __P((const void *, const void *));
tmp.name = name;
return((OPTION *)bsearch(&tmp, options,
tmp.name = name;
return((OPTION *)bsearch(&tmp, options,
- return(strcmp(a->name, b->name));
+ return(strcmp(((OPTION *)a)->name, ((OPTION *)b)->name));