From 59a1b2e1425834dcc8f7d2b99c931f3c6f6bc28c Mon Sep 17 00:00:00 2001 From: dholland Date: Tue, 19 Jun 2012 05:46:08 +0000 Subject: WARNS=5, and make WARNS=5 the default for src/games. --- fortune/unstr/unstr.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'fortune/unstr') 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; -- cgit v1.2.3-56-ge451