Fix warnings by commenting out text after #else/#endif.

This commit is contained in:
Alfred Perlstein
2002-05-11 04:40:13 +00:00
parent 8f0dda1601
commit ec3cd764a8
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ flush_in()
{
# ifdef TIOCFLUSH
ioctl(fileno(stdin), TIOCFLUSH, NULL);
# else TIOCFLUSH
# else /* TIOCFLUSH */
crmode();
# endif TIOCFLUSH
# endif /* TIOCFLUSH */
}
+2 -2
View File
@@ -62,7 +62,7 @@ bool was_sig;
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;
@@ -123,7 +123,7 @@ bool was_sig;
move(Max.y, Max.x);
addch(inch());
standend();
# endif DEBUG
# endif /* DEBUG */
if (Real_time)
alarm(3);
}
+1 -1
View File
@@ -67,7 +67,7 @@ play_level()
move(Max.y, Max.x);
addch(inch());
standend();
# endif DEBUG
# endif /* DEBUG */
setjmp(End_move);
flush_in();
while (!Dead && Num_robots > 0) {