From owner-cvs-all@FreeBSD.ORG Tue Mar 9 03:57:29 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D69316A4CE; Tue, 9 Mar 2004 03:57:29 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9681743D39; Tue, 9 Mar 2004 03:57:29 -0800 (PST) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i29BvTGe068017; Tue, 9 Mar 2004 03:57:29 -0800 (PST) (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i29BvSHE068016; Tue, 9 Mar 2004 03:57:28 -0800 (PST) (envelope-from dwmalone) Message-Id: <200403091157.i29BvSHE068016@repoman.freebsd.org> From: David Malone Date: Tue, 9 Mar 2004 03:57:28 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/systat convtbl.c convtbl.h extern.h ifcmds.c ifstat.c main.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 11:57:29 -0000 dwmalone 2004/03/09 03:57:28 PST FreeBSD src repository Modified files: usr.bin/systat convtbl.c convtbl.h extern.h ifcmds.c ifstat.c main.c Log: Fix the easy warnings: 1) Avoid shadowing index. 2) Constness. 3) Missing prototype for ifcmd. 4) Missing include of string.h. 5) Avoid shadowing error function. 6) ANSI definition for main. Revision Changes Path 1.2 +9 -9 src/usr.bin/systat/convtbl.c 1.2 +2 -2 src/usr.bin/systat/convtbl.h 1.14 +1 -0 src/usr.bin/systat/extern.h 1.2 +2 -1 src/usr.bin/systat/ifcmds.c 1.2 +12 -25 src/usr.bin/systat/ifstat.c 1.18 +1 -3 src/usr.bin/systat/main.c