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. --- morse/morse.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'morse') diff --git a/morse/morse.c b/morse/morse.c index 70cbe4d1..d5ba3284 100644 --- a/morse/morse.c +++ b/morse/morse.c @@ -1,4 +1,4 @@ -/* $NetBSD: morse.c,v 1.16 2009/08/12 08:11:37 dholland Exp $ */ +/* $NetBSD: morse.c,v 1.17 2012/06/19 05:46:08 dholland Exp $ */ /* * Copyright (c) 1988, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\ #if 0 static char sccsid[] = "@(#)morse.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: morse.c,v 1.16 2009/08/12 08:11:37 dholland Exp $"); +__RCSID("$NetBSD: morse.c,v 1.17 2012/06/19 05:46:08 dholland Exp $"); #endif #endif /* not lint */ @@ -119,9 +119,7 @@ static int sflag; static int dflag; int -main(argc, argv) - int argc; - char **argv; +main(int argc, char **argv) { int ch; char *p; @@ -201,8 +199,7 @@ main(argc, argv) } void -decode(s) - const char *s; +decode(const char *s) { int i; @@ -231,8 +228,7 @@ decode(s) } void -morse(c) - int c; +morse(int c) { int i; @@ -255,8 +251,7 @@ morse(c) } void -show(s) - const char *s; +show(const char *s) { if (sflag) printf(" %s", s); -- cgit v1.2.3-56-ge451