diff options
author | dholland <dholland@NetBSD.org> | 2009-08-12 05:29:40 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-08-12 05:29:40 +0000 |
commit | 662780f7f3ea41e118586facdd8dc87d8b739263 (patch) | |
tree | 4366118b1f022f9d8597f48fef6e758ebce26d9b /boggle/mkindex/mkindex.c | |
parent | e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9 (diff) | |
download | bsdgames-darwin-662780f7f3ea41e118586facdd8dc87d8b739263.tar.gz bsdgames-darwin-662780f7f3ea41e118586facdd8dc87d8b739263.tar.zst bsdgames-darwin-662780f7f3ea41e118586facdd8dc87d8b739263.zip |
sprinkle static and prune some dead code
Diffstat (limited to 'boggle/mkindex/mkindex.c')
-rw-r--r-- | boggle/mkindex/mkindex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boggle/mkindex/mkindex.c b/boggle/mkindex/mkindex.c index e572000a..ddda2bd9 100644 --- a/boggle/mkindex/mkindex.c +++ b/boggle/mkindex/mkindex.c @@ -1,4 +1,4 @@ -/* $NetBSD: mkindex.c,v 1.10 2005/07/01 16:38:24 jmc Exp $ */ +/* $NetBSD: mkindex.c,v 1.11 2009/08/12 05:29:40 dholland Exp $ */ /*- * Copyright (c) 1993 @@ -40,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.10 2005/07/01 16:38:24 jmc Exp $"; + "$NetBSD: mkindex.c,v 1.11 2009/08/12 05:29:40 dholland Exp $"; #endif #endif /* not lint */ @@ -49,7 +49,7 @@ static char rcsid[] = #include "bog.h" -char *nextword(FILE *, char *, int *, int *); +static char *nextword(FILE *, char *, int *, int *); int main(void) @@ -94,7 +94,7 @@ main(void) * Also set clen to the length of the compressed word (for mkindex) and * rlen to the strlen() of the real word */ -char * +static char * nextword(FILE *fp, char *buffer, int *clen, int *rlen) { int ch, pcount; |