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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96394
3 changed files with 5 additions and 5 deletions

View File

@ -49,7 +49,7 @@ flush_in()
{
# ifdef TIOCFLUSH
ioctl(fileno(stdin), TIOCFLUSH, NULL);
# else TIOCFLUSH
# else /* TIOCFLUSH */
crmode();
# endif TIOCFLUSH
# endif /* TIOCFLUSH */
}

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);
}

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) {