From fe3736d468fa73bbbff46e4226883a0bda6fa705 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 18 Apr 2002 13:02:17 +0000 Subject: 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. --- usr.bin/msgs/msgs.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/msgs/msgs.c b/usr.bin/msgs/msgs.c index 64a547ab3b62e..5af40e9fadefe 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 __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': -- cgit v1.3