-/* $NetBSD: assorted.c,v 1.12 2001/01/04 03:21:16 jwise Exp $ */
+/* $NetBSD: assorted.c,v 1.15 2003/08/07 09:37:41 agc Exp $ */
/*
* Copyright (c) 1983, 1993
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
#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.15 2003/08/07 09:37:41 agc Exp $");
#endif
#endif /* not lint */
#include <err.h>
#include "extern.h"
-void table(int, int, int, struct ship *, struct ship *, 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;