=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/apropos/Attic/apropos.c,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/apropos/Attic/apropos.c 2003/06/03 02:56:05 1.9 --- src/usr.bin/apropos/Attic/apropos.c 2003/06/10 22:20:44 1.10 *************** *** 1,4 **** ! /* $OpenBSD: apropos.c,v 1.9 2003/06/03 02:56:05 millert Exp $ */ /* $NetBSD: apropos.c,v 1.5 1995/09/04 20:46:20 tls Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: apropos.c,v 1.10 2003/06/10 22:20:44 deraadt Exp $ */ /* $NetBSD: apropos.c,v 1.5 1995/09/04 20:46:20 tls Exp $ */ /* *************** *** 40,46 **** #if 0 static char sccsid[] = "@(#)apropos.c 8.8 (Berkeley) 5/4/95"; #else ! static char rcsid[] = "$OpenBSD: apropos.c,v 1.9 2003/06/03 02:56:05 millert Exp $"; #endif #endif /* not lint */ --- 40,46 ---- #if 0 static char sccsid[] = "@(#)apropos.c 8.8 (Berkeley) 5/4/95"; #else ! static char rcsid[] = "$OpenBSD: apropos.c,v 1.10 2003/06/10 22:20:44 deraadt Exp $"; #endif #endif /* not lint */ *************** *** 68,76 **** void usage(void); int ! main(argc, argv) ! int argc; ! char *argv[]; { ENTRY *ep; TAG *tp; --- 68,74 ---- void usage(void); int ! main(int argc, char *argv[]) { ENTRY *ep; TAG *tp; *************** *** 133,141 **** } void ! apropos(argv, path, buildpath) ! char **argv, *path; ! int buildpath; { char *end, *name, **p; char buf[MAXLINELEN + 1], wbuf[MAXLINELEN + 1]; --- 131,137 ---- } void ! apropos(char **argv, char *path, int buildpath) { char *end, *name, **p; char buf[MAXLINELEN + 1], wbuf[MAXLINELEN + 1]; *************** *** 183,190 **** * match anywhere the string appears */ int ! match(bp, str) ! char *bp, *str; { int len; char test; --- 179,185 ---- * match anywhere the string appears */ int ! match(char *bp, char *str) { int len; char test; *************** *** 205,212 **** * convert a string to lower case */ void ! lowstr(from, to) ! char *from, *to; { char ch; --- 200,206 ---- * convert a string to lower case */ void ! lowstr(char *from, char *to) { char ch; *************** *** 220,226 **** * print usage message and die */ void ! usage() { (void)fprintf(stderr, --- 214,220 ---- * print usage message and die */ void ! usage(void) { (void)fprintf(stderr,