summaryrefslogtreecommitdiff
path: root/games/morse
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-10 07:26:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-10 07:26:25 +0000
commit81fbdc5dca4ba4f9673c612f03fede15c8ad3f91 (patch)
treebb4eddffc1438ca1405dde0867782c5b37066a26 /games/morse
parent123f3b7651527e3cd41a6956ecd641c00442b6c7 (diff)
more ansi; khalek@linuxgamers.net
Diffstat (limited to 'games/morse')
-rw-r--r--games/morse/morse.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/games/morse/morse.c b/games/morse/morse.c
index c371fc63c6c..b1ec0b08682 100644
--- a/games/morse/morse.c
+++ b/games/morse/morse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: morse.c,v 1.11 2003/07/10 00:03:01 david Exp $ */
+/* $OpenBSD: morse.c,v 1.12 2004/07/10 07:26:23 deraadt Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)morse.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: morse.c,v 1.11 2003/07/10 00:03:01 david Exp $";
+static char rcsid[] = "$OpenBSD: morse.c,v 1.12 2004/07/10 07:26:23 deraadt Exp $";
#endif
#endif /* not lint */
@@ -121,9 +121,7 @@ static int sflag = 0;
static int dflag = 0;
int
-main(argc, argv)
- int argc;
- char **argv;
+main(int argc, char *argv[])
{
int ch;
char *p;
@@ -199,8 +197,7 @@ main(argc, argv)
}
void
-morse(c)
- int c;
+morse(int c)
{
int i;
@@ -223,8 +220,7 @@ morse(c)
}
void
-decode(s)
- char *s;
+decode(char *s)
{
int i;
@@ -253,8 +249,7 @@ decode(s)
void
-show(s)
- char *s;
+show(char *s)
{
if (sflag)
printf(" %s", s);