summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-03-16 10:58:09 +0000
committerrwatson <rwatson@FreeBSD.org>2008-03-16 10:58:09 +0000
commit877d7c65ba9b74233df6c9197fc39c770e809d02 (patch)
tree6564575d1252cf3bc48428a52fcc596c284e459b /sys/net
parente16eb855ef66b817fb04637d522ca52a5e5b5163 (diff)
downloadFreeBSD-src-877d7c65ba9b74233df6c9197fc39c770e809d02.zip
FreeBSD-src-877d7c65ba9b74233df6c9197fc39c770e809d02.tar.gz
In keeping with style(9)'s recommendations on macros, use a ';'
after each SYSINIT() macro invocation. This makes a number of lightweight C parsers much happier with the FreeBSD kernel source, including cflow's prcc and lxr. MFC after: 1 month Discussed with: imp, rink
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/bpf.c2
-rw-r--r--sys/net/if.c4
-rw-r--r--sys/net/netisr.c2
-rw-r--r--sys/net/rtsock.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 66ee80a..4996175 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -1826,7 +1826,7 @@ bpf_stats_sysctl(SYSCTL_HANDLER_ARGS)
return (error);
}
-SYSINIT(bpfdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE,bpf_drvinit,NULL)
+SYSINIT(bpfdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE,bpf_drvinit,NULL);
#else /* !DEV_BPF && !NETGRAPH_BPF */
/*
diff --git a/sys/net/if.c b/sys/net/if.c
index d30f93c5..cf1cca0 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -155,8 +155,8 @@ static struct filterops netdev_filtops =
/*
* System initialization
*/
-SYSINIT(interfaces, SI_SUB_INIT_IF, SI_ORDER_FIRST, if_init, NULL)
-SYSINIT(interface_check, SI_SUB_PROTO_IF, SI_ORDER_FIRST, if_check, NULL)
+SYSINIT(interfaces, SI_SUB_INIT_IF, SI_ORDER_FIRST, if_init, NULL);
+SYSINIT(interface_check, SI_SUB_PROTO_IF, SI_ORDER_FIRST, if_check, NULL);
MALLOC_DEFINE(M_IFNET, "ifnet", "interface internals");
MALLOC_DEFINE(M_IFADDR, "ifaddr", "interface address");
diff --git a/sys/net/netisr.c b/sys/net/netisr.c
index cb61ebe..9307b53 100644
--- a/sys/net/netisr.c
+++ b/sys/net/netisr.c
@@ -266,4 +266,4 @@ start_netisr(void *dummy)
if (swi_add(NULL, "net", swi_net, NULL, SWI_NET, INTR_MPSAFE, &net_ih))
panic("start_netisr");
}
-SYSINIT(start_netisr, SI_SUB_SOFTINTR, SI_ORDER_FIRST, start_netisr, NULL)
+SYSINIT(start_netisr, SI_SUB_SOFTINTR, SI_ORDER_FIRST, start_netisr, NULL);
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index c2a2051..2893f4b 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -117,7 +117,7 @@ rts_init(void)
mtx_init(&rtsintrq.ifq_mtx, "rts_inq", NULL, MTX_DEF);
netisr_register(NETISR_ROUTE, rts_input, &rtsintrq, NETISR_MPSAFE);
}
-SYSINIT(rtsock, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD, rts_init, 0)
+SYSINIT(rtsock, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD, rts_init, 0);
static void
rts_input(struct mbuf *m)
OpenPOWER on IntegriCloud