From owner-svn-src-all@FreeBSD.ORG Sun Feb 5 09:17:49 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2325106564A; Sun, 5 Feb 2012 09:17:49 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B53E18FC0A; Sun, 5 Feb 2012 09:17:49 +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 q159HnWt075347; Sun, 5 Feb 2012 09:17:49 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q159Hnp9075338; Sun, 5 Feb 2012 09:17:49 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201202050917.q159Hnp9075338@svn.freebsd.org> From: Ed Schouten Date: Sun, 5 Feb 2012 09:17:49 +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: r231011 - head/usr.bin/systat X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 05 Feb 2012 09:17:50 -0000 Author: ed Date: Sun Feb 5 09:17:49 2012 New Revision: 231011 URL: http://svn.freebsd.org/changeset/base/231011 Log: Whitespace fixes. - Remove redundant empty lines. - Replace ^L by \014. This allows you to safely cat/grep/etc this file without causing confusion. Modified: head/usr.bin/systat/icmp.c head/usr.bin/systat/ifstat.c head/usr.bin/systat/iostat.c head/usr.bin/systat/ip.c head/usr.bin/systat/netcmds.c head/usr.bin/systat/netstat.c head/usr.bin/systat/pigs.c head/usr.bin/systat/tcp.c Modified: head/usr.bin/systat/icmp.c ============================================================================== --- head/usr.bin/systat/icmp.c Sun Feb 5 08:53:05 2012 (r231010) +++ head/usr.bin/systat/icmp.c Sun Feb 5 09:17:49 2012 (r231011) @@ -277,4 +277,3 @@ fetchicmp(void) if (sysctl(name, 4, &icmpstat, &len, 0, 0) < 0) return; } - Modified: head/usr.bin/systat/ifstat.c ============================================================================== --- head/usr.bin/systat/ifstat.c Sun Feb 5 08:53:05 2012 (r231010) +++ head/usr.bin/systat/ifstat.c Sun Feb 5 09:17:49 2012 (r231011) @@ -58,7 +58,6 @@ static const int col3 = C3; static const int col4 = C4; static const int col5 = C5; - SLIST_HEAD(, if_stat) curlist; SLIST_HEAD(, if_stat_disp) displist; @@ -85,7 +84,7 @@ static void sort_interface_list(void); static u_int getifnum(void); #define IFSTAT_ERR(n, s) do { \ - putchar(' '); \ + putchar('\014'); \ closeifstat(wnd); \ err((n), (s)); \ } while (0) @@ -143,7 +142,6 @@ static u_int getifnum(void); mvprintw(p->if_ypos+1, col2-3, "%s", (const char *)"out"); \ } while (0) - WINDOW * openifstat(void) { @@ -170,7 +168,6 @@ closeifstat(WINDOW *w) return; } - void labelifstat(void) { @@ -254,7 +251,6 @@ fetchifstat(void) IFSTAT_ERR(2, "error getting time of day"); (void)getifmibdata(ifp->if_row, &ifp->if_mib); - new_inb = ifp->if_mib.ifmd_data.ifi_ibytes; new_outb = ifp->if_mib.ifmd_data.ifi_obytes; Modified: head/usr.bin/systat/iostat.c ============================================================================== --- head/usr.bin/systat/iostat.c Sun Feb 5 08:53:05 2012 (r231010) +++ head/usr.bin/systat/iostat.c Sun Feb 5 09:17:49 2012 (r231011) @@ -254,7 +254,6 @@ barlabels(int row) return (row); } - void showiostat(void) { Modified: head/usr.bin/systat/ip.c ============================================================================== --- head/usr.bin/systat/ip.c Sun Feb 5 08:53:05 2012 (r231010) +++ head/usr.bin/systat/ip.c Sun Feb 5 09:17:49 2012 (r231011) @@ -337,4 +337,3 @@ fetchip(void) if (sysctl(name, 4, &curstat.u, &len, 0, 0) < 0) return; } - Modified: head/usr.bin/systat/netcmds.c ============================================================================== --- head/usr.bin/systat/netcmds.c Sun Feb 5 08:53:05 2012 (r231010) +++ head/usr.bin/systat/netcmds.c Sun Feb 5 09:17:49 2012 (r231011) @@ -121,7 +121,6 @@ netcmd(const char *cmd, const char *args return (0); } - static void changeitems(const char *args, int onoff) { Modified: head/usr.bin/systat/netstat.c ============================================================================== --- head/usr.bin/systat/netstat.c Sun Feb 5 08:53:05 2012 (r231010) +++ head/usr.bin/systat/netstat.c Sun Feb 5 09:17:49 2012 (r231011) @@ -349,7 +349,6 @@ enter_sysctl(struct inpcb *inp, struct x } } - static struct netinfo * enter(struct inpcb *inp, int state, const char *proto) { @@ -437,7 +436,6 @@ enter(struct inpcb *inp, int state, cons #define SNDCC RCVCC+7 #define STATE SNDCC+7 - void labelnetstat(void) { Modified: head/usr.bin/systat/pigs.c ============================================================================== --- head/usr.bin/systat/pigs.c Sun Feb 5 08:53:05 2012 (r231010) +++ head/usr.bin/systat/pigs.c Sun Feb 5 09:17:49 2012 (r231011) @@ -81,7 +81,6 @@ closepigs(WINDOW *w) delwin(w); } - void showpigs(void) { Modified: head/usr.bin/systat/tcp.c ============================================================================== --- head/usr.bin/systat/tcp.c Sun Feb 5 08:53:05 2012 (r231010) +++ head/usr.bin/systat/tcp.c Sun Feb 5 09:17:49 2012 (r231011) @@ -324,4 +324,3 @@ fetchtcp(void) if (sysctl(name, 4, &curstat, &len, 0, 0) < 0) return; } -