diff options
author | delphij <delphij@FreeBSD.org> | 2008-01-16 19:27:43 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2008-01-16 19:27:43 +0000 |
commit | 8f8cb7cbeccab35f93144e4796554b23c37ca424 (patch) | |
tree | 1949ff10a24f623c91c0dd1c161428d8022ef1b7 /usr.bin/systat/mbufs.c | |
parent | e0a03b53e1322296a173e94b1501785915211127 (diff) | |
download | FreeBSD-src-8f8cb7cbeccab35f93144e4796554b23c37ca424.zip FreeBSD-src-8f8cb7cbeccab35f93144e4796554b23c37ca424.tar.gz |
ANSIfy and remove register.
Resulting binary verified with strip(1)+md5(1).
Diffstat (limited to 'usr.bin/systat/mbufs.c')
-rw-r--r-- | usr.bin/systat/mbufs.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/usr.bin/systat/mbufs.c b/usr.bin/systat/mbufs.c index 5469de8..37be1ef 100644 --- a/usr.bin/systat/mbufs.c +++ b/usr.bin/systat/mbufs.c @@ -69,14 +69,13 @@ static struct mtnames { #define NNAMES (sizeof (mtnames) / sizeof (mtnames[0])) WINDOW * -openmbufs() +openmbufs(void) { return (subwin(stdscr, LINES-3-1, 0, MAINWIN_ROW, 0)); } void -closembufs(w) - WINDOW *w; +closembufs(WINDOW *w) { if (w == NULL) return; @@ -86,7 +85,7 @@ closembufs(w) } void -labelmbufs() +labelmbufs(void) { wmove(wnd, 0, 0); wclrtoeol(wnd); mvwaddstr(wnd, 0, 10, @@ -94,7 +93,7 @@ labelmbufs() } void -showmbufs() +showmbufs(void) { int i, j, max, idx; u_long totmbufs; @@ -165,7 +164,7 @@ showmbufs() } int -initmbufs() +initmbufs(void) { size_t len; @@ -188,7 +187,7 @@ initmbufs() } void -fetchmbufs() +fetchmbufs(void) { size_t len; |