Date: Fri, 24 Apr 2015 07:58:00 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281922 - head/usr.bin/nfsstat Message-ID: <201504240758.t3O7w0o1022549@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Fri Apr 24 07:57:59 2015 New Revision: 281922 URL: https://svnweb.freebsd.org/changeset/base/281922 Log: Make nfsstat(1) build with WARNS=6. Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/nfsstat/Makefile head/usr.bin/nfsstat/nfsstat.c Modified: head/usr.bin/nfsstat/Makefile ============================================================================== --- head/usr.bin/nfsstat/Makefile Fri Apr 24 07:52:21 2015 (r281921) +++ head/usr.bin/nfsstat/Makefile Fri Apr 24 07:57:59 2015 (r281922) @@ -6,6 +6,4 @@ CFLAGS+=-DNFS LIBADD= kvm -WARNS?= 3 - .include <bsd.prog.mk> Modified: head/usr.bin/nfsstat/nfsstat.c ============================================================================== --- head/usr.bin/nfsstat/nfsstat.c Fri Apr 24 07:52:21 2015 (r281921) +++ head/usr.bin/nfsstat/nfsstat.c Fri Apr 24 07:57:59 2015 (r281922) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504240758.t3O7w0o1022549>