diff options
author | bde <bde@FreeBSD.org> | 2002-04-18 13:02:17 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-04-18 13:02:17 +0000 |
commit | f0130fa54e85b8ca5aba7f52c69dac31cc757b2b (patch) | |
tree | 03567f1370f6bc41d2b5f6ddad0decc6959dc596 | |
parent | aed32c6aa217ae9b1c513e59b31bc4b0401cdf21 (diff) | |
download | FreeBSD-src-f0130fa54e85b8ca5aba7f52c69dac31cc757b2b.zip FreeBSD-src-f0130fa54e85b8ca5aba7f52c69dac31cc757b2b.tar.gz |
Fixed some style bugs:
- ifdefs around vendor sccsid were left reversed after switching to
__FBSDID().
- vertical whitespace after some of the non-FALLTHROUGH cases was lost.
- too much vertical whitespace before prototypes.
-rw-r--r-- | usr.bin/msgs/msgs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/msgs/msgs.c b/usr.bin/msgs/msgs.c index 64a547a..5af40e9 100644 --- a/usr.bin/msgs/msgs.c +++ b/usr.bin/msgs/msgs.c @@ -37,11 +37,11 @@ static const char copyright[] = The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ -#ifndef lint #if 0 +#ifndef lint static char sccsid[] = "@(#)msgs.c 8.2 (Berkeley) 4/28/95"; -#endif #endif /* not lint */ +#endif #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); @@ -151,7 +151,6 @@ bool clean = NO; bool lastcmd = NO; jmp_buf tstpbuf; - void ask(const char *); void gfrsub(FILE *); int linecnt(FILE *); @@ -544,6 +543,7 @@ cmnd: case 'X': exit(0); /* NOTREACHED */ + case 'q': /* FALLTHROUGH */ case 'Q': @@ -551,6 +551,7 @@ cmnd: printf("--Postponed--\n"); exit(0); /* NOTREACHED */ + case 'n': /* FALLTHROUGH */ case 'N': |