summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>2002-02-23 10:35:25 +0000
committerbillf <billf@FreeBSD.org>2002-02-23 10:35:25 +0000
commite5774765bdef52e2e3f84df851d75ba572554ac7 (patch)
tree37a3ed829aef3005dd6ef2d08ce469677c9ad920 /games
parent1bc6f85fc6b5a27ba36f65975e6614d5ce61bf12 (diff)
downloadFreeBSD-src-e5774765bdef52e2e3f84df851d75ba572554ac7.zip
FreeBSD-src-e5774765bdef52e2e3f84df851d75ba572554ac7.tar.gz
KNF -> ANSI function declarations
Reviewed by: md5(1)
Diffstat (limited to 'games')
-rw-r--r--games/worms/worms.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/games/worms/worms.c b/games/worms/worms.c
index f31a6e4..e605dc9 100644
--- a/games/worms/worms.c
+++ b/games/worms/worms.c
@@ -183,9 +183,7 @@ void nomem(void);
void onsig(int);
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
int x, y, h, n;
struct worm *w;
@@ -334,14 +332,13 @@ main(argc, argv)
}
void
-onsig(signo)
- int signo;
+onsig(int signo)
{
sig_caught = 1;
}
void
-nomem()
+nomem(void)
{
errx(1, "not enough memory.");
}
OpenPOWER on IntegriCloud