summaryrefslogtreecommitdiffstats
path: root/usr.bin/msgs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-04-18 13:02:17 +0000
committerbde <bde@FreeBSD.org>2002-04-18 13:02:17 +0000
commitf0130fa54e85b8ca5aba7f52c69dac31cc757b2b (patch)
tree03567f1370f6bc41d2b5f6ddad0decc6959dc596 /usr.bin/msgs
parentaed32c6aa217ae9b1c513e59b31bc4b0401cdf21 (diff)
downloadFreeBSD-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.
Diffstat (limited to 'usr.bin/msgs')
-rw-r--r--usr.bin/msgs/msgs.c7
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':
OpenPOWER on IntegriCloud