diff options
author | phk <phk@FreeBSD.org> | 2000-07-03 09:35:31 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-07-03 09:35:31 +0000 |
commit | 61ff05be253ab1a6d0939338ce307aece558f308 (patch) | |
tree | f854da72d7b16ec777419f1209c54e76eeedc5af /sys/net | |
parent | 1212bcc09f8e48235a83c65a1e350eaa0b3c5931 (diff) | |
download | FreeBSD-src-61ff05be253ab1a6d0939338ce307aece558f308.zip FreeBSD-src-61ff05be253ab1a6d0939338ce307aece558f308.tar.gz |
Style police catches up with rev 1.26 of src/sys/sys/sysctl.h:
Sanitize SYSCTL_HANDLER_ARGS so that simplistic tools can grog our
sources:
-sysctl_vm_zone SYSCTL_HANDLER_ARGS
+sysctl_vm_zone (SYSCTL_HANDLER_ARGS)
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/bridge.c | 4 | ||||
-rw-r--r-- | sys/net/if_mib.c | 2 | ||||
-rw-r--r-- | sys/net/rtsock.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/bridge.c b/sys/net/bridge.c index 633b65a..b07c860 100644 --- a/sys/net/bridge.c +++ b/sys/net/bridge.c @@ -223,7 +223,7 @@ bdg_promisc_on() } static int -sysctl_bdg SYSCTL_HANDLER_ARGS +sysctl_bdg (SYSCTL_HANDLER_ARGS) { int error, oldval = do_bridge ; @@ -296,7 +296,7 @@ parse_bdg_cfg() } static int -sysctl_bdg_cfg SYSCTL_HANDLER_ARGS +sysctl_bdg_cfg (SYSCTL_HANDLER_ARGS) { int error = 0 ; char oldval[256] ; diff --git a/sys/net/if_mib.c b/sys/net/if_mib.c index a4489ca..ae957fd 100644 --- a/sys/net/if_mib.c +++ b/sys/net/if_mib.c @@ -68,7 +68,7 @@ SYSCTL_INT(_net_link_generic_system, IFMIB_IFCOUNT, ifcount, CTLFLAG_RD, &if_index, 0, "Number of configured interfaces"); static int -sysctl_ifdata SYSCTL_HANDLER_ARGS /* XXX bad syntax! */ +sysctl_ifdata (SYSCTL_HANDLER_ARGS) /* XXX bad syntax! */ { int *name = (int *)arg1; int error, ifnlen; diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index e03eb61..5f76a70 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -937,7 +937,7 @@ sysctl_iflist(af, w) } static int -sysctl_rtsock SYSCTL_HANDLER_ARGS +sysctl_rtsock (SYSCTL_HANDLER_ARGS) { int *name = (int *)arg1; u_int namelen = arg2; |