diff options
author | trasz <trasz@FreeBSD.org> | 2015-04-24 07:57:59 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2015-04-24 07:57:59 +0000 |
commit | f9718e52b216985bf55510729d6a29d03111ac11 (patch) | |
tree | 33e88b1ab3d15b7fcce4183666c4a089aabccd12 /usr.bin/nfsstat | |
parent | 7244e2348f87e641058251f666a3ed672e4bc649 (diff) | |
download | FreeBSD-src-f9718e52b216985bf55510729d6a29d03111ac11.zip FreeBSD-src-f9718e52b216985bf55510729d6a29d03111ac11.tar.gz |
Make nfsstat(1) build with WARNS=6.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin/nfsstat')
-rw-r--r-- | usr.bin/nfsstat/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/nfsstat/nfsstat.c | 9 |
2 files changed, 0 insertions, 11 deletions
diff --git a/usr.bin/nfsstat/Makefile b/usr.bin/nfsstat/Makefile index 10b0b31..fc92008 100644 --- a/usr.bin/nfsstat/Makefile +++ b/usr.bin/nfsstat/Makefile @@ -6,6 +6,4 @@ CFLAGS+=-DNFS LIBADD= kvm -WARNS?= 3 - .include <bsd.prog.mk> diff --git a/usr.bin/nfsstat/nfsstat.c b/usr.bin/nfsstat/nfsstat.c index dbf3ed6..32fbc96 100644 --- a/usr.bin/nfsstat/nfsstat.c +++ b/usr.bin/nfsstat/nfsstat.c @@ -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; |