Deleted Added
full compact
cmdtab.c (87715) cmdtab.c (108684)
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/cmdtab.c 87715 2001-12-12 00:13:37Z markm $");
36__FBSDID("$FreeBSD: head/usr.bin/systat/cmdtab.c 108684 2003-01-04 22:07:24Z phk $");
37
38#ifdef lint
39static const char sccsid[] = "@(#)cmdtab.c 8.1 (Berkeley) 6/6/93";
40#endif
41
42#include "systat.h"
43#include "extern.h"
44#include "mode.h"

--- 21 unchanged lines hidden (view full) ---

66 initicmp, openicmp, closeicmp, cmdmode,
67 reseticmp, CF_LOADAV },
68 { "ip", showip, fetchip, labelip,
69 initip, openip, closeip, cmdmode,
70 resetip, CF_LOADAV },
71 { "tcp", showtcp, fetchtcp, labeltcp,
72 inittcp, opentcp, closetcp, cmdmode,
73 resettcp, 0 },
37
38#ifdef lint
39static const char sccsid[] = "@(#)cmdtab.c 8.1 (Berkeley) 6/6/93";
40#endif
41
42#include "systat.h"
43#include "extern.h"
44#include "mode.h"

--- 21 unchanged lines hidden (view full) ---

66 initicmp, openicmp, closeicmp, cmdmode,
67 reseticmp, CF_LOADAV },
68 { "ip", showip, fetchip, labelip,
69 initip, openip, closeip, cmdmode,
70 resetip, CF_LOADAV },
71 { "tcp", showtcp, fetchtcp, labeltcp,
72 inittcp, opentcp, closetcp, cmdmode,
73 resettcp, 0 },
74 { "ifstat", showifstat, fetchifstat, labelifstat,
75 initifstat, openifstat, closeifstat, cmdifstat,
76 0, CF_LOADAV },
74 { NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0 }
75};
76struct cmdtab *curcmd = &cmdtab[0];
77 { NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0 }
78};
79struct cmdtab *curcmd = &cmdtab[0];