mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 02:32:47 +00:00
- Add the __dead2 attribute since it is a function that never returns
- Add an empty line in usage() according to style(9) PR: bin/177076 Submitted by: Fernando <fernando.apesteguia@gmail.com> Approved by: cperciva (mentor)
This commit is contained in:
parent
af44d850f2
commit
e99f8bc02e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249804
@ -68,7 +68,7 @@ static int bflag, eflag, lflag, nflag, sflag, tflag, vflag;
|
||||
static int rval;
|
||||
static const char *filename;
|
||||
|
||||
static void usage(void);
|
||||
static void usage(void) __dead2;
|
||||
static void scanfiles(char *argv[], int cooked);
|
||||
static void cook_cat(FILE *);
|
||||
static void raw_cat(int);
|
||||
@ -153,6 +153,7 @@ main(int argc, char *argv[])
|
||||
static void
|
||||
usage(void)
|
||||
{
|
||||
|
||||
fprintf(stderr, "usage: cat [-belnstuv] [file ...]\n");
|
||||
exit(1);
|
||||
/* NOTREACHED */
|
||||
|
Loading…
Reference in New Issue
Block a user