summaryrefslogtreecommitdiffstats
path: root/robots/move_robs.c
diff options
context:
space:
mode:
Diffstat (limited to 'robots/move_robs.c')
-rw-r--r--robots/move_robs.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/robots/move_robs.c b/robots/move_robs.c
index ce53c336..446d5b26 100644
--- a/robots/move_robs.c
+++ b/robots/move_robs.c
@@ -1,4 +1,4 @@
-/* $NetBSD: move_robs.c,v 1.8 2009/07/20 05:44:02 dholland Exp $ */
+/* $NetBSD: move_robs.c,v 1.9 2009/07/20 06:00:56 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,11 +34,11 @@
#if 0
static char sccsid[] = "@(#)move_robs.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: move_robs.c,v 1.8 2009/07/20 05:44:02 dholland Exp $");
+__RCSID("$NetBSD: move_robs.c,v 1.9 2009/07/20 06:00:56 dholland Exp $");
#endif
#endif /* not lint */
-# include "robots.h"
+#include "robots.h"
/*
* move_robots:
@@ -47,16 +47,16 @@ __RCSID("$NetBSD: move_robs.c,v 1.8 2009/07/20 05:44:02 dholland Exp $");
void
move_robots(int was_sig)
{
- COORD *rp;
+ COORD *rp;
if (Real_time)
signal(SIGALRM, move_robots);
-# ifdef DEBUG
+#ifdef DEBUG
move(Min.y, Min.x);
addch(inch());
move(Max.y, Max.x);
addch(inch());
-# endif /* DEBUG */
+#endif /* DEBUG */
for (rp = Robots; rp < &Robots[MAXROBOTS]; rp++) {
if (rp->y < 0)
continue;
@@ -111,14 +111,14 @@ move_robots(int was_sig)
longjmp(End_move, 0);
}
-# ifdef DEBUG
+#ifdef DEBUG
standout();
move(Min.y, Min.x);
addch(inch());
move(Max.y, Max.x);
addch(inch());
standend();
-# endif /* DEBUG */
+#endif /* DEBUG */
if (Real_time)
alarm(3);
}