summaryrefslogtreecommitdiffstats
path: root/sail/game.c
diff options
context:
space:
mode:
authorjwise <jwise@NetBSD.org>2001-01-01 21:57:37 +0000
committerjwise <jwise@NetBSD.org>2001-01-01 21:57:37 +0000
commita6e8d8ed2cbb18fa9d9277395a46a38295b2d6bf (patch)
treeed347bc8d547f2e0d34db81f6ff04de08dd221ff /sail/game.c
parentd4fc452126cfb5931b27328e3cb0196d46e00cd5 (diff)
downloadbsdgames-darwin-a6e8d8ed2cbb18fa9d9277395a46a38295b2d6bf.tar.gz
bsdgames-darwin-a6e8d8ed2cbb18fa9d9277395a46a38295b2d6bf.tar.zst
bsdgames-darwin-a6e8d8ed2cbb18fa9d9277395a46a38295b2d6bf.zip
ANSIfy in preparation for further work.
Diffstat (limited to 'sail/game.c')
-rw-r--r--sail/game.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/sail/game.c b/sail/game.c
index 1b524dc5..ae871273 100644
--- a/sail/game.c
+++ b/sail/game.c
@@ -1,4 +1,4 @@
-/* $NetBSD: game.c,v 1.6 1999/09/17 17:07:11 jsm Exp $ */
+/* $NetBSD: game.c,v 1.7 2001/01/01 21:57:38 jwise Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,16 +38,14 @@
#if 0
static char sccsid[] = "@(#)game.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: game.c,v 1.6 1999/09/17 17:07:11 jsm Exp $");
+__RCSID("$NetBSD: game.c,v 1.7 2001/01/01 21:57:38 jwise Exp $");
#endif
#endif /* not lint */
#include "extern.h"
int
-maxturns(ship, af)
-struct ship *ship;
-char *af;
+maxturns(struct ship *ship, char *af)
{
int turns;
@@ -62,9 +60,7 @@ char *af;
}
int
-maxmove(ship, dir, fs)
-struct ship *ship;
-int dir, fs;
+maxmove(struct ship *ship, int dir, int fs)
{
int riggone = 0, Move, flank = 0;