From owner-cvs-all Thu Sep 5 10: 6:58 2002 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 0396937B400; Thu, 5 Sep 2002 10:06:53 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B376043E3B; Thu, 5 Sep 2002 10:06:52 -0700 (PDT) (envelope-from dwmalone@FreeBSD.org) Received: from freefall.freebsd.org (dwmalone@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g85H6qJU056288; Thu, 5 Sep 2002 10:06:52 -0700 (PDT) (envelope-from dwmalone@freefall.freebsd.org) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g85H6qv0056287; Thu, 5 Sep 2002 10:06:52 -0700 (PDT) Message-Id: <200209051706.g85H6qv0056287@freefall.freebsd.org> From: David Malone Date: Thu, 5 Sep 2002 10:06:52 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/netstat atalk.c if.c inet.c inet6.c ipsec.c ipx.c iso.c main.c mbuf.c mroute.c mroute6.c netgraph.c netstat.h ns.c route.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dwmalone 2002/09/05 10:06:52 PDT Modified files: usr.bin/netstat atalk.c if.c inet.c inet6.c ipsec.c ipx.c iso.c main.c mbuf.c mroute.c mroute6.c netgraph.c netstat.h ns.c route.c Log: Warns cleanups for netstat: 1) Include arpa/inet.h for ntohs. 2) Constness fixes. 3) Fix shadowing except for "sin" which shouldn't be in scope. 4) Remove register keyword. 5) Add missing initialsers to user defined structs. 5) Make prototype of netname6 globally visable. 6) Use right macros for printing syncache stats (even though entrie isn't a word). Revision Changes Path 1.23 +6 -5 src/usr.bin/netstat/atalk.c 1.51 +7 -8 src/usr.bin/netstat/if.c 1.55 +36 -37 src/usr.bin/netstat/inet.c 1.20 +8 -9 src/usr.bin/netstat/inet6.c 1.8 +3 -3 src/usr.bin/netstat/ipsec.c 1.19 +7 -7 src/usr.bin/netstat/ipx.c 1.11 +13 -13 src/usr.bin/netstat/iso.c 1.58 +15 -17 src/usr.bin/netstat/main.c 1.30 +5 -5 src/usr.bin/netstat/mbuf.c 1.19 +6 -6 src/usr.bin/netstat/mroute.c 1.14 +5 -5 src/usr.bin/netstat/mroute6.c 1.9 +1 -1 src/usr.bin/netstat/netgraph.c 1.33 +35 -34 src/usr.bin/netstat/netstat.h 1.7 +7 -7 src/usr.bin/netstat/ns.c 1.68 +44 -42 src/usr.bin/netstat/route.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message