summaryrefslogtreecommitdiffstats
path: root/sail/dr_5.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/dr_5.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/dr_5.c')
-rw-r--r--sail/dr_5.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/sail/dr_5.c b/sail/dr_5.c
index 316a8da4..a48e549e 100644
--- a/sail/dr_5.c
+++ b/sail/dr_5.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dr_5.c,v 1.6 1999/02/10 00:45:45 hubertf Exp $ */
+/* $NetBSD: dr_5.c,v 1.7 2001/01/01 21:57:38 jwise Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,17 +38,14 @@
#if 0
static char sccsid[] = "@(#)dr_5.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: dr_5.c,v 1.6 1999/02/10 00:45:45 hubertf Exp $");
+__RCSID("$NetBSD: dr_5.c,v 1.7 2001/01/01 21:57:38 jwise Exp $");
#endif
#endif /* not lint */
#include "extern.h"
void
-subtract(from, totalfrom, crewfrom, fromcap, pcfrom)
-struct ship *from, *fromcap;
-int pcfrom;
-int totalfrom, crewfrom[3];
+subtract(struct ship *from, int totalfrom, int *crewfrom, struct ship *fromcap, int pcfrom)
{
int n;
@@ -71,10 +68,7 @@ int totalfrom, crewfrom[3];
}
int
-mensent(from, to, crew, captured, pc, isdefense)
-struct ship *from, *to, **captured;
-int crew[3], *pc;
-char isdefense;
+mensent(struct ship *from, struct ship *to, int *crew, struct ship **captured, int *pc, int isdefense)
{ /* returns # of crew squares sent */
int men = 0;
int n;