summaryrefslogtreecommitdiffstats
path: root/robots/init_field.c
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1997-10-12 14:09:55 +0000
committerlukem <lukem@NetBSD.org>1997-10-12 14:09:55 +0000
commita0bb5b9abf33dc2d2220eb3bd6e79c964e92a1c1 (patch)
treefd2b88ff5b355622ff28cd9528fb2d026c626a55 /robots/init_field.c
parenta0041450da452d421fa15f352d533a000c2e7921 (diff)
downloadbsdgames-darwin-a0bb5b9abf33dc2d2220eb3bd6e79c964e92a1c1.tar.gz
bsdgames-darwin-a0bb5b9abf33dc2d2220eb3bd6e79c964e92a1c1.tar.zst
bsdgames-darwin-a0bb5b9abf33dc2d2220eb3bd6e79c964e92a1c1.zip
WARNSify
Diffstat (limited to 'robots/init_field.c')
-rw-r--r--robots/init_field.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/robots/init_field.c b/robots/init_field.c
index 7a209156..a5fd9e25 100644
--- a/robots/init_field.c
+++ b/robots/init_field.c
@@ -1,4 +1,4 @@
-/* $NetBSD: init_field.c,v 1.4 1997/05/23 23:40:16 jtc Exp $ */
+/* $NetBSD: init_field.c,v 1.5 1997/10/12 14:09:57 lukem Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -33,11 +33,12 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)init_field.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: init_field.c,v 1.4 1997/05/23 23:40:16 jtc Exp $";
+__RCSID("$NetBSD: init_field.c,v 1.5 1997/10/12 14:09:57 lukem Exp $");
#endif
#endif /* not lint */
@@ -48,11 +49,10 @@ static char rcsid[] = "$NetBSD: init_field.c,v 1.4 1997/05/23 23:40:16 jtc Exp $
* Lay down the initial pattern whih is constant across all levels,
* and initialize all the global variables.
*/
+void
init_field()
{
- register int i;
- register WINDOW *wp;
- register int j;
+ int i;
static bool first = TRUE;
static char *desc[] = {
"Directions:",