diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-09 13:33:06 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-09 13:33:06 +0000 |
commit | 472d2ef3ede7d23f82e47aa673c48a33d622931f (patch) | |
tree | 179a7f3789d31caf5e3ed59cee03cecff4ee7de6 /games/hack | |
parent | 6543524ac50b91694b5ee0b3c2bb83734778fcdc (diff) | |
download | FreeBSD-src-472d2ef3ede7d23f82e47aa673c48a33d622931f.zip FreeBSD-src-472d2ef3ede7d23f82e47aa673c48a33d622931f.tar.gz |
Fix nested comments for -Wcomment warnings.
Diffstat (limited to 'games/hack')
-rw-r--r-- | games/hack/hack.do_name.c | 2 | ||||
-rw-r--r-- | games/hack/hack.mon.c | 2 | ||||
-rw-r--r-- | games/hack/hack.unix.c | 14 |
3 files changed, 9 insertions, 9 deletions
diff --git a/games/hack/hack.do_name.c b/games/hack/hack.do_name.c index 72ac62c..bc49510 100644 --- a/games/hack/hack.do_name.c +++ b/games/hack/hack.do_name.c @@ -129,7 +129,7 @@ char buf[BUFSZ]; break; } } - /* obfree(obj, otmp2); /* now unnecessary: no pointers on bill */ + /*obfree(obj, otmp2);*/ /* now unnecessary: no pointers on bill */ free((char *) obj); /* let us hope nobody else saved a pointer */ } diff --git a/games/hack/hack.mon.c b/games/hack/hack.mon.c index b31c159..f89b3a8 100644 --- a/games/hack/hack.mon.c +++ b/games/hack/hack.mon.c @@ -132,7 +132,7 @@ char *name; u.uhp = -1; } if(u.uhp < 1) done_in_by(mtmp); - /* flags.botlx = 1; /* should we show status line ? */ + /* flags.botlx = 1; */ /* should we show status line ? */ } dochugw(mtmp) register struct monst *mtmp; { diff --git a/games/hack/hack.unix.c b/games/hack/hack.unix.c index 03b294d..7e84c0c 100644 --- a/games/hack/hack.unix.c +++ b/games/hack/hack.unix.c @@ -92,11 +92,11 @@ struct stat buf, hbuf; gethdate(name) char *name; { /* old version - for people short of space */ /* -/* register char *np; -/* if(stat(name, &hbuf)) -/* error("Cannot get status of %s.", -/* (np = rindex(name, '/')) ? np+1 : name); -/* + * register char *np; + * if(stat(name, &hbuf)) + * error("Cannot get status of %s.", + * (np = rindex(name, '/')) ? np+1 : name); + */ /* version using PATH from: seismo!gregc@ucsf-cgl.ARPA (Greg Couch) */ @@ -161,8 +161,8 @@ veryold(fd) { /* strange ... */ return(0); - /* From: Rick Adams <seismo!rick> - /* This will work on 4.1cbsd, 4.2bsd and system 3? & 5. + /* From: Rick Adams <seismo!rick> */ + /* This will work on 4.1cbsd, 4.2bsd and system 3? & 5. */ /* It will do nothing on V7 or 4.1bsd. */ if(!(kill(lockedpid, 0) == -1 && errno == ESRCH)) return(0); |