summaryrefslogtreecommitdiffstats
path: root/fortune/unstr/unstr.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2012-06-19 05:46:08 +0000
committerdholland <dholland@NetBSD.org>2012-06-19 05:46:08 +0000
commit59a1b2e1425834dcc8f7d2b99c931f3c6f6bc28c (patch)
tree629475be65e4569ada852759c1510dc0ea17512f /fortune/unstr/unstr.c
parent4cb1100e13371f1523900523aba506ae1c62e44c (diff)
downloadbsdgames-darwin-59a1b2e1425834dcc8f7d2b99c931f3c6f6bc28c.tar.gz
bsdgames-darwin-59a1b2e1425834dcc8f7d2b99c931f3c6f6bc28c.tar.zst
bsdgames-darwin-59a1b2e1425834dcc8f7d2b99c931f3c6f6bc28c.zip
WARNS=5, and make WARNS=5 the default for src/games.
Diffstat (limited to 'fortune/unstr/unstr.c')
-rw-r--r--fortune/unstr/unstr.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/fortune/unstr/unstr.c b/fortune/unstr/unstr.c
index 65207960..6f5e8241 100644
--- a/fortune/unstr/unstr.c
+++ b/fortune/unstr/unstr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: unstr.c,v 1.13 2008/07/20 01:03:21 lukem Exp $ */
+/* $NetBSD: unstr.c,v 1.14 2012/06/19 05:46:08 dholland Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 1993\
#if 0
static char sccsid[] = "@(#)unstr.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: unstr.c,v 1.13 2008/07/20 01:03:21 lukem Exp $");
+__RCSID("$NetBSD: unstr.c,v 1.14 2012/06/19 05:46:08 dholland Exp $");
#endif
#endif /* not lint */
@@ -85,9 +85,7 @@ void order_unstr(STRFILE *);
/* ARGSUSED */
int
-main(ac, av)
- int ac __unused;
- char **av;
+main(int ac __unused, char **av)
{
static STRFILE tbl; /* description table */
@@ -114,8 +112,7 @@ main(ac, av)
}
void
-getargs(av)
- char *av[];
+getargs(char *av[])
{
if (!*++av) {
(void) fprintf(stderr, "usage: unstr datafile\n");
@@ -127,8 +124,7 @@ getargs(av)
}
void
-order_unstr(tbl)
- STRFILE *tbl;
+order_unstr(STRFILE *tbl)
{
unsigned int i;
char *sp;