swap.c (108454) | swap.c (158160) |
---|---|
1/*- 2 * Copyright (c) 1980, 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 19 unchanged lines hidden (view full) --- 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#include <sys/cdefs.h> 35 | 1/*- 2 * Copyright (c) 1980, 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 19 unchanged lines hidden (view full) --- 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#include <sys/cdefs.h> 35 |
36__FBSDID("$FreeBSD: head/usr.bin/systat/swap.c 108454 2002-12-30 18:14:43Z mike $"); | 36__FBSDID("$FreeBSD: head/usr.bin/systat/swap.c 158160 2006-04-30 04:26:46Z bde $"); |
37 38#ifdef lint 39static const char sccsid[] = "@(#)swap.c 8.3 (Berkeley) 4/29/95"; 40#endif 41 42/* 43 * swapinfo - based on a program of the same name by Kevin Lahey 44 */ --- 16 unchanged lines hidden (view full) --- 61kvm_t *kd; 62 63static long blocksize; 64static int hlen; 65 66WINDOW * 67openswap() 68{ | 37 38#ifdef lint 39static const char sccsid[] = "@(#)swap.c 8.3 (Berkeley) 4/29/95"; 40#endif 41 42/* 43 * swapinfo - based on a program of the same name by Kevin Lahey 44 */ --- 16 unchanged lines hidden (view full) --- 61kvm_t *kd; 62 63static long blocksize; 64static int hlen; 65 66WINDOW * 67openswap() 68{ |
69 return (subwin(stdscr, LINES-5-1, 0, 5, 0)); | 69 return (subwin(stdscr, LINES-3-1, 0, MAINWIN_ROW, 0)); |
70} 71 72void 73closeswap(w) 74 WINDOW *w; 75{ 76 if (w == NULL) 77 return; --- 121 unchanged lines hidden --- | 70} 71 72void 73closeswap(w) 74 WINDOW *w; 75{ 76 if (w == NULL) 77 return; --- 121 unchanged lines hidden --- |