=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/systat/swap.c,v retrieving revision 1.8 retrieving revision 1.9 diff -c -r1.8 -r1.9 *** src/usr.bin/systat/swap.c 1997/04/01 18:11:58 1.8 --- src/usr.bin/systat/swap.c 1997/06/23 22:21:49 1.9 *************** *** 1,4 **** ! /* $OpenBSD: swap.c,v 1.8 1997/04/01 18:11:58 deraadt Exp $ */ /* $NetBSD: swap.c,v 1.5 1996/05/10 23:16:38 thorpej Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: swap.c,v 1.9 1997/06/23 22:21:49 millert Exp $ */ /* $NetBSD: swap.c,v 1.5 1996/05/10 23:16:38 thorpej Exp $ */ /*- *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)swap.c 8.3 (Berkeley) 4/29/95"; #endif ! static char rcsid[] = "$OpenBSD: swap.c,v 1.8 1997/04/01 18:11:58 deraadt Exp $"; #endif /* not lint */ /* --- 38,44 ---- #if 0 static char sccsid[] = "@(#)swap.c 8.3 (Berkeley) 4/29/95"; #endif ! static char rcsid[] = "$OpenBSD: swap.c,v 1.9 1997/06/23 22:21:49 millert Exp $"; #endif /* not lint */ /* *************** *** 78,84 **** #define VM_NSWDEV 4 { "_dmmax" }, /* maximum size of a swap block */ #define VM_DMMAX 5 ! 0 }; static int nswap, nswdev, dmmax, nswapmap; --- 78,84 ---- #define VM_NSWDEV 4 { "_dmmax" }, /* maximum size of a swap block */ #define VM_DMMAX 5 ! { 0 } }; static int nswap, nswdev, dmmax, nswapmap; *************** *** 116,121 **** --- 116,122 ---- delwin(w); } + int initswap() { int i; *************** *** 226,232 **** void showswap() { ! int col, row, div, i, j, avail, npfree, used, xsize, xfree; div = blocksize / 512; avail = npfree = 0; --- 227,233 ---- void showswap() { ! int col, div, i, j, avail, npfree, used, xsize, xfree; div = blocksize / 512; avail = npfree = 0;