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.
This commit is contained in:
parent
7be9c056ce
commit
fe3736d468
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94992
@ -37,11 +37,11 @@ static const char copyright[] =
|
|||||||
The Regents of the University of California. All rights reserved.\n";
|
The Regents of the University of California. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#ifndef lint
|
|
||||||
#if 0
|
#if 0
|
||||||
|
#ifndef lint
|
||||||
static char sccsid[] = "@(#)msgs.c 8.2 (Berkeley) 4/28/95";
|
static char sccsid[] = "@(#)msgs.c 8.2 (Berkeley) 4/28/95";
|
||||||
#endif
|
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__FBSDID("$FreeBSD$");
|
__FBSDID("$FreeBSD$");
|
||||||
@ -151,7 +151,6 @@ bool clean = NO;
|
|||||||
bool lastcmd = NO;
|
bool lastcmd = NO;
|
||||||
jmp_buf tstpbuf;
|
jmp_buf tstpbuf;
|
||||||
|
|
||||||
|
|
||||||
void ask(const char *);
|
void ask(const char *);
|
||||||
void gfrsub(FILE *);
|
void gfrsub(FILE *);
|
||||||
int linecnt(FILE *);
|
int linecnt(FILE *);
|
||||||
@ -544,6 +543,7 @@ int argc; char *argv[];
|
|||||||
case 'X':
|
case 'X':
|
||||||
exit(0);
|
exit(0);
|
||||||
/* NOTREACHED */
|
/* NOTREACHED */
|
||||||
|
|
||||||
case 'q':
|
case 'q':
|
||||||
/* FALLTHROUGH */
|
/* FALLTHROUGH */
|
||||||
case 'Q':
|
case 'Q':
|
||||||
@ -551,6 +551,7 @@ int argc; char *argv[];
|
|||||||
printf("--Postponed--\n");
|
printf("--Postponed--\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
/* NOTREACHED */
|
/* NOTREACHED */
|
||||||
|
|
||||||
case 'n':
|
case 'n':
|
||||||
/* FALLTHROUGH */
|
/* FALLTHROUGH */
|
||||||
case 'N':
|
case 'N':
|
||||||
|
Loading…
Reference in New Issue
Block a user