Make nfsstat(1) build with WARNS=6.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2015-04-24 07:57:59 +00:00
parent 7a4864d1bb
commit 9181358e8a
2 changed files with 0 additions and 11 deletions

View File

@ -6,6 +6,4 @@ CFLAGS+=-DNFS
LIBADD= kvm
WARNS?= 3
.include <bsd.prog.mk>

View File

@ -70,15 +70,6 @@ static const char rcsid[] =
#include <paths.h>
#include <err.h>
struct nlist nl[] = {
#define N_NFSSTAT 0
{ .n_name = "nfsstats" },
#define N_NFSRVSTAT 1
{ .n_name = "nfsrvstats" },
{ .n_name = NULL },
};
kvm_t *kd;
static int widemode = 0;
static int zflag = 0;
static int printtitle = 1;