Declare usage() as __dead, and while here align a few variables to the rest of the list and also ANSI one function. No functional change.
OK? Index: fstat.c =================================================================== RCS file: /cvs/src/usr.bin/fstat/fstat.c,v retrieving revision 1.84 diff -u -p -u -r1.84 fstat.c --- fstat.c 17 Nov 2015 17:17:24 -0000 1.84 +++ fstat.c 30 Dec 2015 18:35:29 -0000 @@ -96,10 +96,10 @@ int nflg; /* (numerical) display f.s. an int oflg; /* display file offset */ int sflg; /* display file xfer/bytes counters */ int vflg; /* display errors in locating kernel data objects etc... */ -int cflg; /* fuser only */ +int cflg; /* fuser only */ -int fuser; /* 1 if we are fuser, 0 if we are fstat */ -int signo; /* signal to send (fuser only) */ +int fuser; /* 1 if we are fuser, 0 if we are fstat */ +int signo; /* signal to send (fuser only) */ kvm_t *kd; uid_t uid; @@ -107,7 +107,7 @@ uid_t uid; void fstat_dofile(struct kinfo_file *); void fstat_header(void); void getinetproto(int); -void usage(void); +__dead void usage(void); int getfname(char *); void kqueuetrans(struct kinfo_file *); void pipetrans(struct kinfo_file *); @@ -827,8 +827,7 @@ socktrans(struct kinfo_file *kf) * print name of protocol number */ void -getinetproto(number) - int number; +getinetproto(int number) { static int isopen; struct protoent *pe;