summaryrefslogtreecommitdiffstats
path: root/sail/dr_5.c
diff options
context:
space:
mode:
authorjwise <jwise@NetBSD.org>2001-01-04 06:16:51 +0000
committerjwise <jwise@NetBSD.org>2001-01-04 06:16:51 +0000
commitb2c40c5606888fb0f424ed2d7c7cbfcc747ae9bf (patch)
treeb3f003154f75ea966299219cdfa532a3bd903636 /sail/dr_5.c
parent4bb910aa025d0c056f01479839fb4aac351c6f60 (diff)
downloadbsdgames-darwin-b2c40c5606888fb0f424ed2d7c7cbfcc747ae9bf.tar.gz
bsdgames-darwin-b2c40c5606888fb0f424ed2d7c7cbfcc747ae9bf.tar.zst
bsdgames-darwin-b2c40c5606888fb0f424ed2d7c7cbfcc747ae9bf.zip
Normalize signature of ship handling functions -- struct ship * from and
struct ship * to are now always the first two args.
Diffstat (limited to 'sail/dr_5.c')
-rw-r--r--sail/dr_5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sail/dr_5.c b/sail/dr_5.c
index 80a2b4db..8f6a1f5d 100644
--- a/sail/dr_5.c
+++ b/sail/dr_5.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dr_5.c,v 1.9 2001/01/04 03:51:23 jwise Exp $ */
+/* $NetBSD: dr_5.c,v 1.10 2001/01/04 06:16:51 jwise Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,18 +38,18 @@
#if 0
static char sccsid[] = "@(#)dr_5.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: dr_5.c,v 1.9 2001/01/04 03:51:23 jwise Exp $");
+__RCSID("$NetBSD: dr_5.c,v 1.10 2001/01/04 06:16:51 jwise Exp $");
#endif
#endif /* not lint */
#include <sys/types.h>
#include "extern.h"
-void subtract(struct ship *, int, int *, struct ship *, int);
+void subtract(struct ship *, struct ship *, int, int *, int);
int mensent(struct ship *, struct ship *, int *, struct ship **, int *, int);
void
-subtract(struct ship *from, int totalfrom, int *crewfrom, struct ship *fromcap, int pcfrom)
+subtract(struct ship *from, struct ship *fromcap, int totalfrom, int *crewfrom, int pcfrom)
{
int n;