]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - sail/parties.c
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
[bsdgames-darwin.git] / sail / parties.c
index 4e6994c534e411eb70810191c75932c13698e27b..582e78448032adfa3bbb4252af1d0b5a499fda83 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: parties.c,v 1.6 1999/02/10 00:45:46 hubertf Exp $      */
+/*     $NetBSD: parties.c,v 1.10 2001/02/05 01:10:10 christos Exp $    */
 
 /*
  * Copyright (c) 1983, 1993
 #if 0
 static char sccsid[] = "@(#)parties.c  8.2 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: parties.c,v 1.6 1999/02/10 00:45:46 hubertf Exp $");
+__RCSID("$NetBSD: parties.c,v 1.10 2001/02/05 01:10:10 christos Exp $");
 #endif
 #endif /* not lint */
 
+#include <sys/types.h>
 #include "extern.h"
 
 int
-meleeing(from, to)
-struct ship *from;
-struct ship *to;
+meleeing(struct ship *from, struct ship *to)
 {
        struct BP *p = from->file->OBP;
        struct BP *q = p + NBP;
@@ -59,9 +58,7 @@ struct ship *to;
 }
 
 int
-boarding(from, isdefense)
-struct ship *from;
-char isdefense;
+boarding(struct ship *from, int isdefense)
 {
        struct BP *p = isdefense ? from->file->DBP : from->file->OBP;
        struct BP *q = p + NBP;
@@ -73,9 +70,7 @@ char isdefense;
 }
 
 void
-unboard(ship, to, isdefense)
-struct ship *ship, *to;
-char isdefense;
+unboard(struct ship *ship, struct ship *to, int isdefense)
 {
        struct BP *p = isdefense ? ship->file->DBP : ship->file->OBP;
        int n;