From bf73580a4a388748a773b8bbd0b6b06bcbf390d8 Mon Sep 17 00:00:00 2001 From: cgd Date: Tue, 16 Jan 2001 02:50:27 +0000 Subject: comment or delete text after CPP directives. --- hack/config.h | 12 ++++++------ hack/def.monst.h | 4 ++-- hack/def.rm.h | 4 ++-- hack/hack.cmd.c | 8 ++++---- hack/hack.h | 6 +++--- 5 files changed, 17 insertions(+), 17 deletions(-) (limited to 'hack') diff --git a/hack/config.h b/hack/config.h index f3377d97..dc44c6ea 100644 --- a/hack/config.h +++ b/hack/config.h @@ -1,4 +1,4 @@ -/* $NetBSD: config.h,v 1.5 1997/10/19 16:56:49 christos Exp $ */ +/* $NetBSD: config.h,v 1.6 2001/01/16 02:50:28 cgd Exp $ */ /* * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. @@ -67,8 +67,8 @@ #ifdef BSD #define SUSPEND /* let ^Z suspend the game */ -#endif BSD -#endif UNIX +#endif /* BSD */ +#endif /* UNIX */ #ifdef CHDIR /* @@ -77,9 +77,9 @@ */ #ifdef QUEST #define HACKDIR _PATH_QUEST -#else QUEST +#else /* QUEST */ #define HACKDIR _PATH_HACK -#endif QUEST +#endif /* QUEST */ /* * Some system administrators are stupid enough to make Hack suid root @@ -95,7 +95,7 @@ * simultaneously, define HACKDIR, SECURE and MAX_NR_OF_PLAYERS. * #define MAX_NR_OF_PLAYERS 100 */ -#endif CHDIR +#endif /* CHDIR */ /* size of terminal screen is (at least) (ROWNO+2) by COLNO */ #define COLNO 80 diff --git a/hack/def.monst.h b/hack/def.monst.h index cc49287c..4d3ca91f 100644 --- a/hack/def.monst.h +++ b/hack/def.monst.h @@ -1,4 +1,4 @@ -/* $NetBSD: def.monst.h,v 1.4 1997/10/19 16:57:07 christos Exp $ */ +/* $NetBSD: def.monst.h,v 1.5 2001/01/16 02:50:28 cgd Exp $ */ /* * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. @@ -38,7 +38,7 @@ struct monst { Bitfield(mnamelth,6); /* length of name (following mxlth) */ #ifndef NOWORM Bitfield(wormno,5); /* at most 31 worms on any level */ -#endif NOWORM +#endif /* NOWORM */ unsigned mtrapseen; /* bitmap of traps we've been trapped in */ long mlstmv; /* prevent two moves at once */ struct obj *minvent; diff --git a/hack/def.rm.h b/hack/def.rm.h index 632a5956..f5f86ebe 100644 --- a/hack/def.rm.h +++ b/hack/def.rm.h @@ -1,4 +1,4 @@ -/* $NetBSD: def.rm.h,v 1.4 1997/10/19 16:57:21 christos Exp $ */ +/* $NetBSD: def.rm.h,v 1.5 2001/01/16 02:50:28 cgd Exp $ */ /* * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. @@ -36,7 +36,7 @@ #define CORR_SYM ':' #else #define CORR_SYM '#' -#endif QUEST +#endif /* QUEST */ #define POOL_SYM '}' #define ERRCHAR '{' diff --git a/hack/hack.cmd.c b/hack/hack.cmd.c index 9cc90fde..f171db90 100644 --- a/hack/hack.cmd.c +++ b/hack/hack.cmd.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.cmd.c,v 1.4 1997/10/19 16:57:39 christos Exp $ */ +/* $NetBSD: hack.cmd.c,v 1.5 2001/01/16 02:50:28 cgd Exp $ */ /* * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. @@ -6,7 +6,7 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.cmd.c,v 1.4 1997/10/19 16:57:39 christos Exp $"); +__RCSID("$NetBSD: hack.cmd.c,v 1.5 2001/01/16 02:50:28 cgd Exp $"); #endif /* not lint */ #include "hack.h" @@ -19,7 +19,7 @@ struct func_tab cmdlist[] = { { '\024', dotele }, #ifdef SUSPEND { '\032', dosuspend }, -#endif { /* SUSPEND */ +#endif /* SUSPEND */ { 'a', doapply }, /* 'A' : UNUSED */ /* 'b', 'B' : go sw */ @@ -62,7 +62,7 @@ struct func_tab cmdlist[] = { { '?', dohelp }, #ifdef SHELL { '!', dosh }, -#endif { /* SHELL */ +#endif /* SHELL */ { '.', donull }, { ' ', donull }, { ',', dopickup }, diff --git a/hack/hack.h b/hack/hack.h index 017da4b5..e411ae1b 100644 --- a/hack/hack.h +++ b/hack/hack.h @@ -1,4 +1,4 @@ -/* $NetBSD: hack.h,v 1.5 2000/07/03 03:57:41 matt Exp $ */ +/* $NetBSD: hack.h,v 1.6 2001/01/16 02:50:28 cgd Exp $ */ /* * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. @@ -61,7 +61,7 @@ struct you { #ifdef QUEST schar di; /* direction of FF */ xchar ux0, uy0; /* initial position FF */ -#endif QUEST +#endif /* QUEST */ xchar udisx, udisy; /* last display pos */ char usym; /* usually '@' */ schar uluck; @@ -73,7 +73,7 @@ struct you { unsigned ulevel:4; /* 1 - 14 */ #ifdef QUEST unsigned uhorizon:7; -#endif QUEST +#endif /* QUEST */ unsigned utrap:3; /* trap timeout */ unsigned utraptype:1; /* defined if utrap nonzero */ #define TT_BEARTRAP 0 -- cgit v1.2.3-56-ge451