X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/cc53fc319970619b25fdfa3545d62eab5ffa55dd..86af82ece770d2d27871e6083bc8eb4f7d2bbd3f:/sail/assorted.c?ds=sidebyside diff --git a/sail/assorted.c b/sail/assorted.c index 1d9d2cbf..cfc7d2ae 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.15 2003/08/07 09:37:41 agc Exp $ */ /* * Copyright (c) 1983, 1993 @@ -12,11 +12,7 @@ * 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. * @@ -38,7 +34,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.15 2003/08/07 09:37:41 agc Exp $"); #endif #endif /* not lint */ @@ -46,12 +42,10 @@ __RCSID("$NetBSD: assorted.c,v 1.12 2001/01/04 03:21:16 jwise Exp $"); #include #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;