diff options
author | billf <billf@FreeBSD.org> | 2002-02-23 10:35:25 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 2002-02-23 10:35:25 +0000 |
commit | e5774765bdef52e2e3f84df851d75ba572554ac7 (patch) | |
tree | 37a3ed829aef3005dd6ef2d08ce469677c9ad920 /games | |
parent | 1bc6f85fc6b5a27ba36f65975e6614d5ce61bf12 (diff) | |
download | FreeBSD-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.c | 9 |
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."); } |