diff options
author | alfred <alfred@FreeBSD.org> | 2002-05-11 04:40:13 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-05-11 04:40:13 +0000 |
commit | 00909002b6c6487ad3ede55a4b85aa32dcd3e588 (patch) | |
tree | 4d47d1d00730f906563fc0736f7dcd58650be240 /games | |
parent | a2929176d9db88392f6d3d79a92abfa679f762a7 (diff) | |
download | FreeBSD-src-00909002b6c6487ad3ede55a4b85aa32dcd3e588.zip FreeBSD-src-00909002b6c6487ad3ede55a4b85aa32dcd3e588.tar.gz |
Fix warnings by commenting out text after #else/#endif.
Diffstat (limited to 'games')
-rw-r--r-- | games/robots/flush_in.c | 4 | ||||
-rw-r--r-- | games/robots/move_robs.c | 4 | ||||
-rw-r--r-- | games/robots/play_level.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/games/robots/flush_in.c b/games/robots/flush_in.c index 894185c..18e2709 100644 --- a/games/robots/flush_in.c +++ b/games/robots/flush_in.c @@ -49,7 +49,7 @@ flush_in() { # ifdef TIOCFLUSH ioctl(fileno(stdin), TIOCFLUSH, NULL); -# else TIOCFLUSH +# else /* TIOCFLUSH */ crmode(); -# endif TIOCFLUSH +# endif /* TIOCFLUSH */ } diff --git a/games/robots/move_robs.c b/games/robots/move_robs.c index 21bf0ba..23f39f6 100644 --- a/games/robots/move_robs.c +++ b/games/robots/move_robs.c @@ -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); } diff --git a/games/robots/play_level.c b/games/robots/play_level.c index 6361d9b..b03bbc4 100644 --- a/games/robots/play_level.c +++ b/games/robots/play_level.c @@ -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) { |