diff options
author | dholland <dholland@NetBSD.org> | 2009-07-20 05:44:02 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-07-20 05:44:02 +0000 |
commit | ce061e17a9dda9852d7bfd583c089bbd8dac1333 (patch) | |
tree | 012204b893307d40ce4f844f199906efcea20d69 /robots/init_field.c | |
parent | 275e28ad8575814dcb1749559423a55a82960cfe (diff) | |
download | bsdgames-darwin-ce061e17a9dda9852d7bfd583c089bbd8dac1333.tar.gz bsdgames-darwin-ce061e17a9dda9852d7bfd583c089bbd8dac1333.tar.zst bsdgames-darwin-ce061e17a9dda9852d7bfd583c089bbd8dac1333.zip |
ANSIfy. Use __dead. Object diffs checked.
Diffstat (limited to 'robots/init_field.c')
-rw-r--r-- | robots/init_field.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/robots/init_field.c b/robots/init_field.c index 96d61096..371f3eeb 100644 --- a/robots/init_field.c +++ b/robots/init_field.c @@ -1,4 +1,4 @@ -/* $NetBSD: init_field.c,v 1.8 2003/08/07 09:37:36 agc Exp $ */ +/* $NetBSD: init_field.c,v 1.9 2009/07/20 05:44:02 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)init_field.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: init_field.c,v 1.8 2003/08/07 09:37:36 agc Exp $"); +__RCSID("$NetBSD: init_field.c,v 1.9 2009/07/20 05:44:02 dholland Exp $"); #endif #endif /* not lint */ @@ -49,7 +49,7 @@ static int tely = 0; * and initialize all the global variables. */ void -init_field() +init_field(void) { int i; static bool first = TRUE; @@ -123,8 +123,7 @@ init_field() } void -telmsg(on) - int on; +telmsg(int on) { move(tely, telx); addstr(on ? "Teleport!" : " "); |