Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2012 09:17:49 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r231011 - head/usr.bin/systat
Message-ID:  <201202050917.q159Hnp9075338@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 }
-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202050917.q159Hnp9075338>