From owner-svn-src-head@FreeBSD.ORG Thu Mar 22 09:47:15 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 604B8106564A; Thu, 22 Mar 2012 09:47:15 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4AAB38FC19; Thu, 22 Mar 2012 09:47:15 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q2M9lFf1017578; Thu, 22 Mar 2012 09:47:15 GMT (envelope-from pluknet@svn.freebsd.org) Received: (from pluknet@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q2M9lF3j017576; Thu, 22 Mar 2012 09:47:15 GMT (envelope-from pluknet@svn.freebsd.org) Message-Id: <201203220947.q2M9lF3j017576@svn.freebsd.org> From: Sergey Kandaurov Date: Thu, 22 Mar 2012 09:47:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r233298 - head/usr.bin/vmstat X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2012 09:47:15 -0000 Author: pluknet Date: Thu Mar 22 09:47:14 2012 New Revision: 233298 URL: http://svn.freebsd.org/changeset/base/233298 Log: Garbage collect defunct nlist(3) symbols. MFC after: 1 week Modified: head/usr.bin/vmstat/vmstat.c Modified: head/usr.bin/vmstat/vmstat.c ============================================================================== --- head/usr.bin/vmstat/vmstat.c Thu Mar 22 09:47:10 2012 (r233297) +++ head/usr.bin/vmstat/vmstat.c Thu Mar 22 09:47:14 2012 (r233298) @@ -81,26 +81,20 @@ static char da[] = "da"; static struct nlist namelist[] = { #define X_SUM 0 { "_cnt" }, -#define X_BOOTTIME 1 - { "_boottime" }, -#define X_HZ 2 +#define X_HZ 1 { "_hz" }, -#define X_STATHZ 3 +#define X_STATHZ 2 { "_stathz" }, -#define X_NCHSTATS 4 +#define X_NCHSTATS 3 { "_nchstats" }, -#define X_INTRNAMES 5 +#define X_INTRNAMES 4 { "_intrnames" }, -#define X_SINTRNAMES 6 +#define X_SINTRNAMES 5 { "_sintrnames" }, -#define X_INTRCNT 7 +#define X_INTRCNT 6 { "_intrcnt" }, -#define X_SINTRCNT 8 +#define X_SINTRCNT 7 { "_sintrcnt" }, -#define X_KMEMSTATS 9 - { "_kmemstatistics" }, -#define X_KMEMZONES 10 - { "_kmemzones" }, #ifdef notyet #define X_DEFICIT XXX { "_deficit" }, @@ -112,7 +106,7 @@ static struct nlist namelist[] = { { "_xstats" }, #define X_END XXX #else -#define X_END 11 +#define X_END 8 #endif { "" }, };