From 74070565806ee33326b76dcdd5e1e0a86cd4e6ed Mon Sep 17 00:00:00 2001 From: obrien Date: Wed, 2 Jan 2008 23:26:11 +0000 Subject: style(9) + kread is not a boolean, so check it as such + fix $FreeBSD$ Ids + denote copyrights with /*- + misc whitespace changes. --- usr.bin/netstat/ipx.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'usr.bin/netstat/ipx.c') diff --git a/usr.bin/netstat/ipx.c b/usr.bin/netstat/ipx.c index 893dc75..b79a93b 100644 --- a/usr.bin/netstat/ipx.c +++ b/usr.bin/netstat/ipx.c @@ -1,4 +1,4 @@ -/* +/*- * Copyright (c) 2004, Robert N. M. Watson * Copyright (c) 1983, 1988, 1993 * The Regents of the University of California. All rights reserved. @@ -49,7 +49,7 @@ __FBSDID("$FreeBSD$"); #include -#define TCPSTATES +#define TCPSTATES #include #include @@ -61,7 +61,7 @@ __FBSDID("$FreeBSD$"); #include #include #include -#define SANAMES +#define SANAMES #include #include @@ -71,7 +71,7 @@ __FBSDID("$FreeBSD$"); #include #include "netstat.h" -static char *ipx_prpr (struct ipx_addr *); +static char *ipx_prpr(struct ipx_addr *); /* * Print a summary of connections related to a Network Systems @@ -145,9 +145,9 @@ ipxprotopr(u_long off, const char *name, int af1 __unused, int proto __unused) } } -#define ANY(x,y,z) \ +#define ANY(x,y,z) \ if (x || sflag <= 1) printf("\t%u %s%s%s\n", x, y, plural(x), z) -#define ANYl(x,y,z) \ +#define ANYl(x,y,z) \ if (x || sflag <= 1) printf("\t%lu %s%s%s\n", x, y, plural(x), z) /* @@ -157,7 +157,7 @@ void spx_stats(u_long off, const char *name, int af1 __unused, int proto __unused) { struct spx_istat spx_istat; -#define spxstat spx_istat.newstats +#define spxstat spx_istat.newstats if (off == 0) return; -- cgit v1.1