=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/vmstat/dkstats.c,v retrieving revision 1.20 retrieving revision 1.21 diff -c -r1.20 -r1.21 *** src/usr.bin/vmstat/dkstats.c 2002/08/04 00:51:01 1.20 --- src/usr.bin/vmstat/dkstats.c 2002/09/17 19:37:40 1.21 *************** *** 1,4 **** ! /* $OpenBSD: dkstats.c,v 1.20 2002/08/04 00:51:01 deraadt Exp $ */ /* $NetBSD: dkstats.c,v 1.1 1996/05/10 23:19:27 thorpej Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: dkstats.c,v 1.21 2002/09/17 19:37:40 deraadt Exp $ */ /* $NetBSD: dkstats.c,v 1.1 1996/05/10 23:19:27 thorpej Exp $ */ /* *************** *** 117,123 **** * the delta values in the 'cur' structure. */ void ! dkswap() { u_int64_t tmp; int i; --- 117,123 ---- * the delta values in the 'cur' structure. */ void ! dkswap(void) { u_int64_t tmp; int i; *************** *** 154,160 **** * Also collect statistics for tty i/o and cpu ticks. */ void ! dkreadstats() { #if !defined(NOKVM) struct disk cur_disk, *p; --- 154,160 ---- * Also collect statistics for tty i/o and cpu ticks. */ void ! dkreadstats(void) { #if !defined(NOKVM) struct disk cur_disk, *p; *************** *** 230,237 **** * track disk statistics. */ int ! dkinit(select) ! int select; { #if !defined(NOKVM) struct disklist_head disk_head; --- 230,236 ---- * track disk statistics. */ int ! dkinit(int select) { #if !defined(NOKVM) struct disklist_head disk_head; *************** *** 373,381 **** * and the size of the copy passed in `len'. */ static void ! deref_kptr(kptr, ptr, len) ! void *kptr, *ptr; ! size_t len; { char buf[128]; --- 372,378 ---- * and the size of the copy passed in `len'. */ static void ! deref_kptr(void *kptr, void *ptr, size_t len) { char buf[128];