summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack/hack.tty.c')
-rw-r--r--games/hack/hack.tty.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/hack/hack.tty.c b/games/hack/hack.tty.c
index f86c09f..7932633 100644
--- a/games/hack/hack.tty.c
+++ b/games/hack/hack.tty.c
@@ -55,7 +55,7 @@ static const char rcsid[] =
#define V7
#else
#define USG
-#endif BSD
+#endif /* BSD */
/*
* Some systems may have getchar() return EOF for various reasons, and
@@ -63,7 +63,7 @@ static const char rcsid[] =
*/
#ifndef BSD
#define NR_OF_EOFS 20
-#endif BSD
+#endif /* BSD */
#ifdef USG
@@ -98,7 +98,7 @@ static const char rcsid[] =
#define GTTY(x) (gtty(0, x))
#define STTY(x) (stty(0, x))
-#endif USG
+#endif /* USG */
#if 0
extern short ospeed;
@@ -169,7 +169,7 @@ int change = 0;
/* be satisfied with one character; no timeout */
curttyb.c_cc[VMIN] = 1; /* was VEOF */
curttyb.c_cc[VTIME] = 0; /* was VEOL */
-#endif USG
+#endif /* USG */
change++;
}
if(change){
@@ -299,7 +299,7 @@ parse()
inputline[1] = getchar();
#ifdef QUEST
if(inputline[1] == foo) inputline[2] = getchar(); else
-#endif QUEST
+#endif /* QUEST */
inputline[2] = 0;
}
if(foo == 'm' || foo == 'M'){
@@ -332,7 +332,7 @@ readchar() {
}
#else
end_of_input();
-#endif NR_OF_EOFS
+#endif /* NR_OF_EOFS */
if(flags.toplin == 1)
flags.toplin = 2;
return((char) sym);
OpenPOWER on IntegriCloud