diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-08-01 18:32:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-08-01 18:32:22 +0000 |
commit | b8631172620c3e1542ebc475dc4e228eec355f70 (patch) | |
tree | 471c491c8ce666455cf445cdf6447f459b4dba37 /usr.sbin/iostat/iostat.c | |
parent | c2c17c2534be6163840ba4a11d5767f722f8c0a2 (diff) |
ansi cleanup; khalek@linuxgamers.net
Diffstat (limited to 'usr.sbin/iostat/iostat.c')
-rw-r--r-- | usr.sbin/iostat/iostat.c | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c index 9b4086ce499..36a23ace2ea 100644 --- a/usr.sbin/iostat/iostat.c +++ b/usr.sbin/iostat/iostat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iostat.c,v 1.19 2004/02/15 02:45:47 tedu Exp $ */ +/* $OpenBSD: iostat.c,v 1.20 2004/08/01 18:32:19 deraadt Exp $ */ /* $NetBSD: iostat.c,v 1.10 1996/10/25 18:21:58 scottr Exp $ */ /* @@ -202,8 +202,7 @@ main(int argc, char *argv[]) } static void -sigheader(signo) - int signo; +sigheader(int signo) { wantheader = 1; } @@ -254,8 +253,7 @@ header(void) } static void -disk_stats(etime) -double etime; +disk_stats(double etime) { int dn; double atime, mbps; @@ -291,8 +289,7 @@ double etime; } static void -disk_stats2(etime) -double etime; +disk_stats2(double etime) { int dn; double atime; @@ -317,7 +314,7 @@ double etime; } static void -cpustats() +cpustats(void) { int state; double time; @@ -333,7 +330,7 @@ cpustats() } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: iostat [-CdDIT] [-c count] [-M core] [-N system] [-w wait] [drives]\n"); @@ -341,7 +338,7 @@ usage() } static void -display() +display(void) { int i; double etime; @@ -379,9 +376,7 @@ display() } static void -selectdrives(argc, argv) -int argc; -char *argv[]; +selectdrives(int argc, char *argv[]) { int i, ndrives; |