summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2012-02-05 09:17:49 +0000
committered <ed@FreeBSD.org>2012-02-05 09:17:49 +0000
commit6b68275a843448f1b144d4384f8e43f7304224e6 (patch)
treef6a0ff9da5f72bfd37eb7110efe8bfb5302a2795 /usr.bin
parent0bf7c1fae822b77d2fa8f51418249d0bcae123a6 (diff)
downloadFreeBSD-src-6b68275a843448f1b144d4384f8e43f7304224e6.zip
FreeBSD-src-6b68275a843448f1b144d4384f8e43f7304224e6.tar.gz
Whitespace fixes.
- Remove redundant empty lines. - Replace ^L by \014. This allows you to safely cat/grep/etc this file without causing confusion.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/icmp.c1
-rw-r--r--usr.bin/systat/ifstat.c6
-rw-r--r--usr.bin/systat/iostat.c1
-rw-r--r--usr.bin/systat/ip.c1
-rw-r--r--usr.bin/systat/netcmds.c1
-rw-r--r--usr.bin/systat/netstat.c2
-rw-r--r--usr.bin/systat/pigs.c1
-rw-r--r--usr.bin/systat/tcp.c1
8 files changed, 1 insertions, 13 deletions
diff --git a/usr.bin/systat/icmp.c b/usr.bin/systat/icmp.c
index 4a5a36c..e3a5280 100644
--- a/usr.bin/systat/icmp.c
+++ b/usr.bin/systat/icmp.c
@@ -277,4 +277,3 @@ fetchicmp(void)
if (sysctl(name, 4, &icmpstat, &len, 0, 0) < 0)
return;
}
-
diff --git a/usr.bin/systat/ifstat.c b/usr.bin/systat/ifstat.c
index 77d4a34..fc853b0 100644
--- a/usr.bin/systat/ifstat.c
+++ b/usr.bin/systat/ifstat.c
@@ -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;
diff --git a/usr.bin/systat/iostat.c b/usr.bin/systat/iostat.c
index cd9e038..3384f15 100644
--- a/usr.bin/systat/iostat.c
+++ b/usr.bin/systat/iostat.c
@@ -254,7 +254,6 @@ barlabels(int row)
return (row);
}
-
void
showiostat(void)
{
diff --git a/usr.bin/systat/ip.c b/usr.bin/systat/ip.c
index 43ec1fc..cad79b7 100644
--- a/usr.bin/systat/ip.c
+++ b/usr.bin/systat/ip.c
@@ -337,4 +337,3 @@ fetchip(void)
if (sysctl(name, 4, &curstat.u, &len, 0, 0) < 0)
return;
}
-
diff --git a/usr.bin/systat/netcmds.c b/usr.bin/systat/netcmds.c
index e627329..7ee8f15 100644
--- a/usr.bin/systat/netcmds.c
+++ b/usr.bin/systat/netcmds.c
@@ -121,7 +121,6 @@ netcmd(const char *cmd, const char *args)
return (0);
}
-
static void
changeitems(const char *args, int onoff)
{
diff --git a/usr.bin/systat/netstat.c b/usr.bin/systat/netstat.c
index a5e0608..bb1318d 100644
--- a/usr.bin/systat/netstat.c
+++ b/usr.bin/systat/netstat.c
@@ -349,7 +349,6 @@ enter_sysctl(struct inpcb *inp, struct xsocket *so, int state, const char *proto
}
}
-
static struct netinfo *
enter(struct inpcb *inp, int state, const char *proto)
{
@@ -437,7 +436,6 @@ enter(struct inpcb *inp, int state, const char *proto)
#define SNDCC RCVCC+7
#define STATE SNDCC+7
-
void
labelnetstat(void)
{
diff --git a/usr.bin/systat/pigs.c b/usr.bin/systat/pigs.c
index 987df03..a02a43f 100644
--- a/usr.bin/systat/pigs.c
+++ b/usr.bin/systat/pigs.c
@@ -81,7 +81,6 @@ closepigs(WINDOW *w)
delwin(w);
}
-
void
showpigs(void)
{
diff --git a/usr.bin/systat/tcp.c b/usr.bin/systat/tcp.c
index 76981e2..134aa9a 100644
--- a/usr.bin/systat/tcp.c
+++ b/usr.bin/systat/tcp.c
@@ -324,4 +324,3 @@ fetchtcp(void)
if (sysctl(name, 4, &curstat, &len, 0, 0) < 0)
return;
}
-
OpenPOWER on IntegriCloud