diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-08-06 22:59:14 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-08-06 22:59:14 +0000 |
commit | fd84030e113cfc21538f46f52601e75d11d7cd46 (patch) | |
tree | fbb40ee2d238fafdbc28bc69fc3a2c9946ac7f2b /games/hack/hack.pager.c | |
parent | ae0bab4889690c7680ac2b500763a7cadd471d12 (diff) |
Nothing but comments after #endif and #else; heko@iki.fi
Diffstat (limited to 'games/hack/hack.pager.c')
-rw-r--r-- | games/hack/hack.pager.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/games/hack/hack.pager.c b/games/hack/hack.pager.c index a91de73042a..17414e44cb6 100644 --- a/games/hack/hack.pager.c +++ b/games/hack/hack.pager.c @@ -1,11 +1,11 @@ -/* $OpenBSD: hack.pager.c,v 1.6 2001/01/28 23:41:45 niklas Exp $ */ +/* $OpenBSD: hack.pager.c,v 1.7 2001/08/06 22:59:13 pjanzen Exp $ */ /* * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ #ifndef lint -static char rcsid[] = "$OpenBSD: hack.pager.c,v 1.6 2001/01/28 23:41:45 niklas Exp $"; +static char rcsid[] = "$OpenBSD: hack.pager.c,v 1.7 2001/08/06 22:59:13 pjanzen Exp $"; #endif /* not lint */ /* This file contains the command routine dowhatis() and a pager. */ @@ -116,7 +116,7 @@ readnews() { set_whole_screen(); return(ret); /* report whether we did docrt() */ } -#endif NEWS +#endif /* NEWS */ set_pager(mode) register int mode; /* 0: open 1: wait+close 2: close */ @@ -326,7 +326,7 @@ boolean silent; } (void) close(fd); } -#else DEF_PAGER +#else /* DEF_PAGER */ { FILE *f; /* free after Robert Viduya */ @@ -339,7 +339,7 @@ boolean silent; } page_more(f, 0); } -#endif DEF_PAGER +#endif /* DEF_PAGER */ return(1); } @@ -358,7 +358,7 @@ register char *str; } return(0); } -#endif SHELL +#endif /* SHELL */ #ifdef NOWAITINCLUDE union wait { /* used only for the cast (union wait *) 0 */ @@ -376,8 +376,8 @@ union wait { /* used only for the cast (union wait *) 0 */ #include <sys/wait.h> #else #include <wait.h> -#endif BSD -#endif NOWAITINCLUDE +#endif /* BSD */ +#endif /* NOWAITINCLUDE */ child(wt) { int status; @@ -395,7 +395,7 @@ child(wt) { if (home == NULL || *home == '\0') home = "/"; (void) chdir(home); -#endif CHDIR +#endif /* CHDIR */ return(1); } if(f == -1) { /* cannot fork */ @@ -411,9 +411,9 @@ child(wt) { (void) signal(SIGINT,done1); #ifdef WIZARD if(wizard) (void) signal(SIGQUIT,SIG_DFL); -#endif WIZARD +#endif /* WIZARD */ if(wt) getret(); docrt(); return(0); } -#endif UNIX +#endif /* UNIX */ |