summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.cmd.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-05-23 00:38:07 +0000
committerdes <des@FreeBSD.org>2002-05-23 00:38:07 +0000
commitbc5da2aaa33d76771cd47cf90371acbb01d74278 (patch)
treef1a45d72dce61b7b2a2e4fab1552ab7912563e61 /games/hack/hack.cmd.c
parentb4f31d6da41b4104cde3503e1ddd2658e8443493 (diff)
downloadFreeBSD-src-bc5da2aaa33d76771cd47cf90371acbb01d74278.zip
FreeBSD-src-bc5da2aaa33d76771cd47cf90371acbb01d74278.tar.gz
Comment out extra tokens after #else and #endif.
Diffstat (limited to 'games/hack/hack.cmd.c')
-rw-r--r--games/hack/hack.cmd.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/hack/hack.cmd.c b/games/hack/hack.cmd.c
index 27beaae..fe32ced 100644
--- a/games/hack/hack.cmd.c
+++ b/games/hack/hack.cmd.c
@@ -13,10 +13,10 @@ doprring(),doprgold(),dodiscovered(),dotypeinv(),dolook(),doset(),
doup(), dodown(), done1(), donull(), dothrow(), doextcmd(), dodip(), dopray();
#ifdef SHELL
int dosh();
-#endif SHELL
+#endif /* SHELL */
#ifdef SUSPEND
int dosuspend();
-#endif SUSPEND
+#endif /* SUSPEND */
struct func_tab cmdlist[]={
'\020', doredotopl,
@@ -24,7 +24,7 @@ struct func_tab cmdlist[]={
'\024', dotele,
#ifdef SUSPEND
'\032', dosuspend,
-#endif SUSPEND
+#endif /* SUSPEND */
'a', doapply,
/* 'A' : UNUSED */
/* 'b', 'B' : go sw */
@@ -67,7 +67,7 @@ struct func_tab cmdlist[]={
'?', dohelp,
#ifdef SHELL
'!', dosh,
-#endif SHELL
+#endif /* SHELL */
'.', donull,
' ', donull,
',', dopickup,
@@ -128,7 +128,7 @@ char *cmd;
u.ux0 = u.ux + u.dx;
u.uy0 = u.uy + u.dy;
}
-#endif QUEST
+#endif /* QUEST */
domove();
return;
}
@@ -157,7 +157,7 @@ char *cmd;
if(cmd[2] == '-') flags.run += 1;
goto rush;
}
-#endif QUEST
+#endif /* QUEST */
while(tlist->f_char) {
if(*cmd == tlist->f_char){
res = (*(tlist->f_funct))();
@@ -295,7 +295,7 @@ isroom(x,y) x,y; { /* what about POOL? */
return(isok(x,y) && (levl[x][y].typ == ROOM ||
(levl[x][y].typ >= LDOOR && flags.run >= 6)));
}
-#endif QUEST
+#endif /* QUEST */
isok(x,y) int x,y; {
/* x corresponds to curx, so x==1 is the first column. Ach. %% */
OpenPOWER on IntegriCloud