summaryrefslogtreecommitdiffstats
path: root/sail/dr_5.c
diff options
context:
space:
mode:
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;