X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/cdb35d118cef7a4ec366984eee09299364599519..20a3afdb7c90fd1247b0337b2849ed41484eb501:/boggle/mkindex/mkindex.c diff --git a/boggle/mkindex/mkindex.c b/boggle/mkindex/mkindex.c index ef0126ed..e572000a 100644 --- a/boggle/mkindex/mkindex.c +++ b/boggle/mkindex/mkindex.c @@ -1,4 +1,4 @@ -/* $NetBSD: mkindex.c,v 1.8 2000/07/31 11:29:48 simonb Exp $ */ +/* $NetBSD: mkindex.c,v 1.10 2005/07/01 16:38:24 jmc Exp $ */ /*- * Copyright (c) 1993 @@ -15,11 +15,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -44,7 +40,7 @@ static char copyright[] = "@(#) Copyright (c) 1993\n\ static char sccsid[] = "@(#)mkindex.c 8.1 (Berkeley) 6/11/93"; #else static char rcsid[] = - "$NetBSD: mkindex.c,v 1.8 2000/07/31 11:29:48 simonb Exp $"; + "$NetBSD: mkindex.c,v 1.10 2005/07/01 16:38:24 jmc Exp $"; #endif #endif /* not lint */ @@ -53,7 +49,6 @@ static char rcsid[] = #include "bog.h" -int main(void); char *nextword(FILE *, char *, int *, int *); int @@ -100,10 +95,7 @@ main(void) * rlen to the strlen() of the real word */ char * -nextword(fp, buffer, clen, rlen) - FILE *fp; - char *buffer; - int *clen, *rlen; +nextword(FILE *fp, char *buffer, int *clen, int *rlen) { int ch, pcount; char *p, *q;