=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/systat/swap.c,v retrieving revision 1.15 retrieving revision 1.16 diff -c -r1.15 -r1.16 *** src/usr.bin/systat/swap.c 2002/02/16 21:27:54 1.15 --- src/usr.bin/systat/swap.c 2002/06/18 00:46:48 1.16 *************** *** 1,4 **** ! /* $OpenBSD: swap.c,v 1.15 2002/02/16 21:27:54 millert Exp $ */ /* $NetBSD: swap.c,v 1.9 1998/12/26 07:05:08 marc Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: swap.c,v 1.16 2002/06/18 00:46:48 deraadt Exp $ */ /* $NetBSD: swap.c,v 1.9 1998/12/26 07:05:08 marc Exp $ */ /*- *************** *** 39,45 **** #if 0 static char sccsid[] = "@(#)swap.c 8.3 (Berkeley) 4/29/95"; #endif ! static char rcsid[] = "$OpenBSD: swap.c,v 1.15 2002/02/16 21:27:54 millert Exp $"; #endif /* not lint */ #include --- 39,45 ---- #if 0 static char sccsid[] = "@(#)swap.c 8.3 (Berkeley) 4/29/95"; #endif ! static char rcsid[] = "$OpenBSD: swap.c,v 1.16 2002/06/18 00:46:48 deraadt Exp $"; #endif /* not lint */ #include *************** *** 67,80 **** static struct swapent *swap_devices; WINDOW * ! openswap() { return (subwin(stdscr, LINES-5-1, 0, 5, 0)); } void ! closeswap(w) ! WINDOW *w; { if (w == NULL) return; --- 67,79 ---- static struct swapent *swap_devices; WINDOW * ! openswap(void) { return (subwin(stdscr, LINES-5-1, 0, 5, 0)); } void ! closeswap(WINDOW *w) { if (w == NULL) return; *************** *** 85,97 **** /* do nothing */ int ! initswap() { return (1); } void ! fetchswap() { int update_label = 0; --- 84,96 ---- /* do nothing */ int ! initswap(void) { return (1); } void ! fetchswap(void) { int update_label = 0; *************** *** 119,125 **** } void ! labelswap() { char *header; int row; --- 118,124 ---- } void ! labelswap(void) { char *header; int row; *************** *** 140,146 **** } void ! showswap() { int col, div, i, j, avail, used, xsize, free; struct swapent *sep; char *p; --- 139,146 ---- } void ! showswap(void) ! { int col, div, i, j, avail, used, xsize, free; struct swapent *sep; char *p;