summaryrefslogtreecommitdiffstats
path: root/sail/dr_5.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-03-14 19:35:13 +0000
committerdholland <dholland@NetBSD.org>2009-03-14 19:35:13 +0000
commitfdc664b7bf17e7162301f1d0354f0094af2b08e5 (patch)
treed888f0121027af737b66f6d4abb9d3ef9f3abbaa /sail/dr_5.c
parent458c440612e1d5d8ad36c7d3ab6f4a0a9e99aa93 (diff)
downloadbsdgames-darwin-fdc664b7bf17e7162301f1d0354f0094af2b08e5.tar.gz
bsdgames-darwin-fdc664b7bf17e7162301f1d0354f0094af2b08e5.tar.zst
bsdgames-darwin-fdc664b7bf17e7162301f1d0354f0094af2b08e5.zip
Lines <= 80 chars, remove trailing whitespace, other formatting adjustments.
No functional change.
Diffstat (limited to 'sail/dr_5.c')
-rw-r--r--sail/dr_5.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sail/dr_5.c b/sail/dr_5.c
index 7eb0cb79..7fab0b48 100644
--- a/sail/dr_5.c
+++ b/sail/dr_5.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dr_5.c,v 1.12 2003/08/07 09:37:42 agc Exp $ */
+/* $NetBSD: dr_5.c,v 1.13 2009/03/14 19:35:13 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)dr_5.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: dr_5.c,v 1.12 2003/08/07 09:37:42 agc Exp $");
+__RCSID("$NetBSD: dr_5.c,v 1.13 2009/03/14 19:35:13 dholland Exp $");
#endif
#endif /* not lint */
@@ -42,7 +42,8 @@ __RCSID("$NetBSD: dr_5.c,v 1.12 2003/08/07 09:37:42 agc Exp $");
#include "extern.h"
void
-subtract(struct ship *from, struct ship *fromcap, int totalfrom, int *crewfrom, int pcfrom)
+subtract(struct ship *from, struct ship *fromcap, int totalfrom, int *crewfrom,
+ int pcfrom)
{
int n;
@@ -65,7 +66,8 @@ subtract(struct ship *from, struct ship *fromcap, int totalfrom, int *crewfrom,
}
int
-mensent(struct ship *from, struct ship *to, int *crew, struct ship **captured, int *pc, int isdefense)
+mensent(struct ship *from, struct ship *to, int *crew, struct ship **captured,
+ int *pc, int isdefense)
{ /* returns # of crew squares sent */
int men = 0;
int n;