diff options
author | obrien <obrien@FreeBSD.org> | 2002-05-08 20:39:10 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-05-08 20:39:10 +0000 |
commit | 570838e70ab3ccf462476032eb6cd0c045e8c406 (patch) | |
tree | 072018909be76e0de07fe7b2f3eb2d450d726203 /games/larn/tok.c | |
parent | c9b486b0a34c05b806f51d17eaf13fd60b9da9d9 (diff) | |
download | FreeBSD-src-570838e70ab3ccf462476032eb6cd0c045e8c406.zip FreeBSD-src-570838e70ab3ccf462476032eb6cd0c045e8c406.tar.gz |
It is not clear if "#endif FOO" is allowed by ANSI. Gcc 3.1 complains
loudly, so don't do it.
Diffstat (limited to 'games/larn/tok.c')
-rw-r--r-- | games/larn/tok.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/games/larn/tok.c b/games/larn/tok.c index 9406dc0..19991ec 100644 --- a/games/larn/tok.c +++ b/games/larn/tok.c @@ -4,16 +4,16 @@ #ifdef SYSV #include <fcntl.h> #include <termio.h> -#else SYSV +#else /* SYSV */ #include <sys/ioctl.h> -#endif SYSV +#endif /* SYSV */ #include "header.h" static char lastok=0; int yrepcount=0,dayplay=0; #ifndef FLUSHNO #define FLUSHNO 5 -#endif FLUSHNO +#endif /* FLUSHNO */ static int flushno=FLUSHNO; /* input queue flushing threshold */ #define MAXUM 52 /* maximum number of user re-named monsters */ #define MAXMNAME 40 /* max length of a monster re-name */ @@ -54,7 +54,7 @@ yylex() lflush(); savegame(savefilename); wizard=nomove=1; sleep(4); died(-257); } -#endif TIMECHECK +#endif /* TIMECHECK */ } |