PERFORCE change 163691 for review
Gabor Pali
pgj at FreeBSD.org
Sun Jun 7 09:30:43 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=163691
Change 163691 by pgj at petymeg-current on 2009/06/07 09:29:41
Rename netstat.h to extern.h to avoid confusions (suggested by
gonzo)
Affected files ...
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/atalk.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/bpf.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/extern.h#1 branch
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/if.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/inet.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/inet6.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/ipsec.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/ipx.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/main.c#3 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/mbuf.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/mroute.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/mroute6.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/netgraph.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/netstat.h#3 delete
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/pfkey.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/route.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/sctp.c#2 edit
.. //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/unix.c#3 edit
Differences ...
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/atalk.c#2 (text+ko) ====
@@ -58,7 +58,7 @@
#include <stdint.h>
#include <stdio.h>
#include <string.h>
-#include "netstat.h"
+#include "extern.h"
struct ddpcb ddpcb;
struct socket sockb;
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/bpf.c#2 (text+ko) ====
@@ -49,7 +49,7 @@
#include <string.h>
#include <unistd.h>
-#include "netstat.h"
+#include "extern.h"
/* print bpf stats */
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/if.c#2 (text+ko) ====
@@ -70,7 +70,7 @@
#include <string.h>
#include <unistd.h>
-#include "netstat.h"
+#include "extern.h"
#define YES 1
#define NO 0
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/inet.c#2 (text+ko) ====
@@ -83,7 +83,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include "netstat.h"
+#include "extern.h"
char *inetname(struct in_addr *);
void inetprint(struct in_addr *, int, const char *, int);
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/inet6.c#2 (text+ko) ====
@@ -72,7 +72,7 @@
#include <errno.h>
#include <string.h>
#include <unistd.h>
-#include "netstat.h"
+#include "extern.h"
struct socket sockb;
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/ipsec.c#2 (text+ko) ====
@@ -113,7 +113,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include "netstat.h"
+#include "extern.h"
#ifdef IPSEC
struct val2str {
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/ipx.c#2 (text+ko) ====
@@ -69,7 +69,7 @@
#include <stdint.h>
#include <stdio.h>
#include <string.h>
-#include "netstat.h"
+#include "extern.h"
static char *ipx_prpr(struct ipx_addr *);
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/main.c#3 (text+ko) ====
@@ -71,7 +71,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include "netstat.h"
+#include "extern.h"
static struct nlist nl[] = {
#define N_IFNET 0
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/mbuf.c#2 (text+ko) ====
@@ -56,7 +56,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "netstat.h"
+#include "extern.h"
/*
* Print mbuf statistics.
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/mroute.c#2 (text+ko) ====
@@ -68,7 +68,7 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
-#include "netstat.h"
+#include "extern.h"
static void print_bw_meter(struct bw_meter *, int *);
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/mroute6.c#2 (text+ko) ====
@@ -93,7 +93,7 @@
#include <netinet6/ip6_mroute.h>
#undef KERNEL
-#include "netstat.h"
+#include "extern.h"
#define WID_ORG (Wflag ? 39 : (numeric_addr ? 29 : 18)) /* width of origin column */
#define WID_GRP (Wflag ? 18 : (numeric_addr ? 16 : 18)) /* width of group column */
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/netgraph.c#2 (text+ko) ====
@@ -56,7 +56,7 @@
#include <string.h>
#include <unistd.h>
#include <err.h>
-#include "netstat.h"
+#include "extern.h"
static int first = 1;
static int csock = -1;
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/pfkey.c#2 (text+ko) ====
@@ -85,7 +85,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include "netstat.h"
+#include "extern.h"
#ifdef IPSEC
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/route.c#2 (text+ko) ====
@@ -71,7 +71,7 @@
#include <sysexits.h>
#include <unistd.h>
#include <err.h>
-#include "netstat.h"
+#include "extern.h"
#define kget(p, d) (kread((u_long)(p), (char *)&(d), sizeof (d)))
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/sctp.c#2 (text+ko) ====
@@ -59,7 +59,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include "netstat.h"
+#include "extern.h"
#ifdef SCTP
==== //depot/projects/soc2009/pgj_libstat/src/usr.bin/netstat/unix.c#3 (text+ko) ====
@@ -63,8 +63,8 @@
#include <stdlib.h>
#include <strings.h>
#include <kvm.h>
-#include <netstat.h> /* libnetstat */
-#include "netstat.h"
+#include <netstat.h>
+#include "extern.h"
static void unixdomainpr(struct xunpcb *, struct xsocket *);
More information about the p4-projects
mailing list