ip.c (158161) | ip.c (175387) |
---|---|
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/ip.c 158161 2006-04-30 04:47:23Z bde $"); | 36__FBSDID("$FreeBSD: head/usr.bin/systat/ip.c 175387 2008-01-16 19:27:43Z delphij $"); |
37 38#ifdef lint 39static const char sccsid[] = "@(#)mbufs.c 8.1 (Berkeley) 6/6/93"; 40#endif 41 42/* From: 43 "Id: mbufs.c,v 1.5 1997/02/24 20:59:03 wollman Exp" 44*/ --- 53 unchanged lines hidden (view full) --- 98 99WINDOW * 100openip(void) 101{ 102 return (subwin(stdscr, LINES-3-1, 0, MAINWIN_ROW, 0)); 103} 104 105void | 37 38#ifdef lint 39static const char sccsid[] = "@(#)mbufs.c 8.1 (Berkeley) 6/6/93"; 40#endif 41 42/* From: 43 "Id: mbufs.c,v 1.5 1997/02/24 20:59:03 wollman Exp" 44*/ --- 53 unchanged lines hidden (view full) --- 98 99WINDOW * 100openip(void) 101{ 102 return (subwin(stdscr, LINES-3-1, 0, MAINWIN_ROW, 0)); 103} 104 105void |
106closeip(w) 107 WINDOW *w; | 106closeip(WINDOW *w) |
108{ 109 if (w == NULL) 110 return; 111 wclear(w); 112 wrefresh(w); 113 delwin(w); 114} 115 --- 230 unchanged lines hidden --- | 107{ 108 if (w == NULL) 109 return; 110 wclear(w); 111 wrefresh(w); 112 delwin(w); 113} 114 --- 230 unchanged lines hidden --- |