aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4a5a36cf91a5..e3a528047f7b 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 77d4a3431d86..fc853b0c87b4 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 cd9e038a9b8d..3384f1533623 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 43ec1fc0ca56..cad79b7f7ab8 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 e627329cda5f..7ee8f15a2734 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 a5e06083c1f6..bb1318da37c8 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 987df03da8a9..a02a43fe542c 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 76981e251a66..134aa9af986a 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;
}
-