Deleted Added
full compact
extern.h (216370) extern.h (240605)
1/*-
2 * Copyright (c) 1991, 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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)extern.h 8.1 (Berkeley) 6/6/93
1/*-
2 * Copyright (c) 1991, 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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)extern.h 8.1 (Berkeley) 6/6/93
30 * $FreeBSD: head/usr.bin/systat/extern.h 216370 2010-12-11 08:32:16Z joel $
30 * $FreeBSD: head/usr.bin/systat/extern.h 240605 2012-09-17 13:36:47Z melifaro $
31 */
32
33#include <sys/cdefs.h>
34#include <fcntl.h>
35#include <kvm.h>
36
37extern struct cmdtab *curcmd;
38extern struct cmdtab cmdtab[];

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

44extern float *dk_mspw;
45extern kvm_t *kd;
46extern long ntext, textp;
47extern int *dk_select;
48extern int CMDLINE;
49extern int dk_ndrive;
50extern int hz, stathz;
51extern double hertz; /* sampling frequency for cp_time and dk_time */
31 */
32
33#include <sys/cdefs.h>
34#include <fcntl.h>
35#include <kvm.h>
36
37extern struct cmdtab *curcmd;
38extern struct cmdtab cmdtab[];

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

44extern float *dk_mspw;
45extern kvm_t *kd;
46extern long ntext, textp;
47extern int *dk_select;
48extern int CMDLINE;
49extern int dk_ndrive;
50extern int hz, stathz;
51extern double hertz; /* sampling frequency for cp_time and dk_time */
52extern int naptime, col;
52extern int col;
53extern int nhosts;
54extern int nports;
55extern int protos;
56extern int verbose;
53extern int nhosts;
54extern int nports;
55extern int protos;
56extern int verbose;
57extern unsigned int delay;
57
58struct inpcb;
59
60extern struct device_selection *dev_select;
61extern long generation;
62extern int num_devices;
63extern int num_selected;
64extern int num_selections;

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

82void closetcp(WINDOW *);
83int cmdifstat(const char *, const char *);
84int cmdiostat(const char *, const char *);
85int cmdkre(const char *, const char *);
86int cmdnetstat(const char *, const char *);
87struct cmdtab *lookup(const char *);
88void command(const char *);
89void die(int);
58
59struct inpcb;
60
61extern struct device_selection *dev_select;
62extern long generation;
63extern int num_devices;
64extern int num_selected;
65extern int num_selections;

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

83void closetcp(WINDOW *);
84int cmdifstat(const char *, const char *);
85int cmdiostat(const char *, const char *);
86int cmdkre(const char *, const char *);
87int cmdnetstat(const char *, const char *);
88struct cmdtab *lookup(const char *);
89void command(const char *);
90void die(int);
90void display(int);
91void display(void);
91int dkinit(void);
92int dkcmd(char *, char *);
93void error(const char *fmt, ...) __printflike(1, 2);
94void fetchicmp(void);
95void fetchicmp6(void);
96void fetchifstat(void);
97void fetchip(void);
98void fetchip6(void);

--- 72 unchanged lines hidden ---
92int dkinit(void);
93int dkcmd(char *, char *);
94void error(const char *fmt, ...) __printflike(1, 2);
95void fetchicmp(void);
96void fetchicmp6(void);
97void fetchifstat(void);
98void fetchip(void);
99void fetchip6(void);

--- 72 unchanged lines hidden ---