aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2015-04-24 07:57:59 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2015-04-24 07:57:59 +0000
commit9181358e8a8b8058d44c6e7940aa012014e0aab5 (patch)
tree33e88b1ab3d15b7fcce4183666c4a089aabccd12 /usr.bin
parent7a4864d1bb8c2df7a2718b0027fdae1ffba6926a (diff)
downloadsrc-9181358e8a8b8058d44c6e7940aa012014e0aab5.tar.gz
src-9181358e8a8b8058d44c6e7940aa012014e0aab5.zip
Make nfsstat(1) build with WARNS=6.
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=281922
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/nfsstat/Makefile2
-rw-r--r--usr.bin/nfsstat/nfsstat.c9
2 files changed, 0 insertions, 11 deletions
diff --git a/usr.bin/nfsstat/Makefile b/usr.bin/nfsstat/Makefile
index 10b0b31e50e7..fc92008775c9 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 dbf3ed676680..32fbc9658f41 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;