summaryrefslogtreecommitdiffstats
path: root/sail/assorted.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/assorted.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/assorted.c')
-rw-r--r--sail/assorted.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sail/assorted.c b/sail/assorted.c
index 1d9d2cbf..38ec6982 100644
--- a/sail/assorted.c
+++ b/sail/assorted.c
@@ -1,4 +1,4 @@
-/* $NetBSD: assorted.c,v 1.12 2001/01/04 03:21:16 jwise Exp $ */
+/* $NetBSD: assorted.c,v 1.13 2001/01/04 06:16:51 jwise Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)assorted.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: assorted.c,v 1.12 2001/01/04 03:21:16 jwise Exp $");
+__RCSID("$NetBSD: assorted.c,v 1.13 2001/01/04 06:16:51 jwise Exp $");
#endif
#endif /* not lint */
@@ -46,12 +46,12 @@ __RCSID("$NetBSD: assorted.c,v 1.12 2001/01/04 03:21:16 jwise Exp $");
#include <err.h>
#include "extern.h"
-void table(int, int, int, struct ship *, struct ship *, int);
+void table(struct ship *, struct ship *, int, int, int, int);
void Cleansnag(struct ship *, struct ship *, int, int);
-static void strike (struct ship *, struct ship *);
+static void strike (struct ship *, struct ship *);
void
-table(int rig, int shot, int hittable, struct ship *on, struct ship *from, int roll)
+table(struct ship *from, struct ship *on, int rig, int shot, int hittable, int roll)
{
int hhits = 0, chits = 0, ghits = 0, rhits = 0;
int Ghit = 0, Hhit = 0, Rhit = 0, Chit = 0;