summaryrefslogtreecommitdiffstats
path: root/robots/play_level.c
diff options
context:
space:
mode:
Diffstat (limited to 'robots/play_level.c')
-rw-r--r--robots/play_level.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/robots/play_level.c b/robots/play_level.c
index 8f5e1d40..74a013f4 100644
--- a/robots/play_level.c
+++ b/robots/play_level.c
@@ -1,4 +1,4 @@
-/* $NetBSD: play_level.c,v 1.3 1995/04/22 10:09:03 cgd Exp $ */
+/* $NetBSD: play_level.c,v 1.4 1997/10/12 14:10:01 lukem Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -33,11 +33,12 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)play_level.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: play_level.c,v 1.3 1995/04/22 10:09:03 cgd Exp $";
+__RCSID("$NetBSD: play_level.c,v 1.4 1997/10/12 14:10:01 lukem Exp $");
#endif
#endif /* not lint */
@@ -47,10 +48,10 @@ static char rcsid[] = "$NetBSD: play_level.c,v 1.3 1995/04/22 10:09:03 cgd Exp $
* play_level:
* Let the player play the current level
*/
+void
play_level()
{
- register COORD *cp;
- register int y, x, bonus;
+ COORD *cp;
move(My_pos.y, My_pos.x);
addch(PLAYER);