From owner-svn-src-all@FreeBSD.ORG Fri Apr 24 07:58:00 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D85E94EA; Fri, 24 Apr 2015 07:58:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C6CA714A9; Fri, 24 Apr 2015 07:58:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3O7w07T022553; Fri, 24 Apr 2015 07:58:00 GMT (envelope-from trasz@FreeBSD.org) Received: (from trasz@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3O7w0o1022549; Fri, 24 Apr 2015 07:58:00 GMT (envelope-from trasz@FreeBSD.org) Message-Id: <201504240758.t3O7w0o1022549@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: trasz set sender to trasz@FreeBSD.org using -f From: Edward Tomasz Napierala Date: Fri, 24 Apr 2015 07:58:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281922 - head/usr.bin/nfsstat X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2015 07:58:01 -0000 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 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 #include -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;