summaryrefslogtreecommitdiffstats
path: root/sail/dr_1.c
diff options
context:
space:
mode:
authorjwise <jwise@NetBSD.org>2001-01-04 01:53:24 +0000
committerjwise <jwise@NetBSD.org>2001-01-04 01:53:24 +0000
commitd7be70527bfff340ccf3fef43add3188d54d7eae (patch)
tree69f1c4a865aa8176ded722b9921e53476767b220 /sail/dr_1.c
parent0eb576600d73fa407f92dca881df9fc0b68864fd (diff)
downloadbsdgames-darwin-d7be70527bfff340ccf3fef43add3188d54d7eae.tar.gz
bsdgames-darwin-d7be70527bfff340ccf3fef43add3188d54d7eae.tar.zst
bsdgames-darwin-d7be70527bfff340ccf3fef43add3188d54d7eae.zip
First half of static-ization of local funcs.
Diffstat (limited to 'sail/dr_1.c')
-rw-r--r--sail/dr_1.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/sail/dr_1.c b/sail/dr_1.c
index bc6a6cca..d63feef2 100644
--- a/sail/dr_1.c
+++ b/sail/dr_1.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dr_1.c,v 1.12 2001/01/01 21:57:37 jwise Exp $ */
+/* $NetBSD: dr_1.c,v 1.13 2001/01/04 01:53:24 jwise Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,13 +38,20 @@
#if 0
static char sccsid[] = "@(#)dr_1.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: dr_1.c,v 1.12 2001/01/01 21:57:37 jwise Exp $");
+__RCSID("$NetBSD: dr_1.c,v 1.13 2001/01/04 01:53:24 jwise Exp $");
#endif
#endif /* not lint */
#include "driver.h"
#include <stdlib.h>
+void unfoul(void);
+void boardcomp(void);
+static int fightitout(struct ship *, struct ship *, int);
+void resolve(void);
+void compcombat(void);
+int next(void);
+
void
unfoul(void)
{
@@ -133,7 +140,7 @@ boardcomp(void)
}
}
-int
+static int
fightitout(struct ship *from, struct ship *to, int key)
{
struct ship *fromcap, *tocap;