summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-07-03 09:35:31 +0000
committerphk <phk@FreeBSD.org>2000-07-03 09:35:31 +0000
commit61ff05be253ab1a6d0939338ce307aece558f308 (patch)
treef854da72d7b16ec777419f1209c54e76eeedc5af /sys/netinet
parent1212bcc09f8e48235a83c65a1e350eaa0b3c5931 (diff)
downloadFreeBSD-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/netinet')
-rw-r--r--sys/netinet/in_pcb.c2
-rw-r--r--sys/netinet/raw_ip.c2
-rw-r--r--sys/netinet/tcp_subr.c6
-rw-r--r--sys/netinet/tcp_timer.c2
-rw-r--r--sys/netinet/tcp_timewait.c6
-rw-r--r--sys/netinet/udp_usrreq.c4
6 files changed, 11 insertions, 11 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index 6d7b23a..9aa3721 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -95,7 +95,7 @@ int ipport_hilastauto = IPPORT_HILASTAUTO; /* 65535 */
else if ((var) > (max)) { (var) = (max); }
static int
-sysctl_net_ipport_check SYSCTL_HANDLER_ARGS
+sysctl_net_ipport_check (SYSCTL_HANDLER_ARGS)
{
int error = sysctl_handle_int(oidp,
oidp->oid_arg1, oidp->oid_arg2, req);
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index a3ddb23..5a61eb9 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -568,7 +568,7 @@ rip_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *nam,
}
static int
-rip_pcblist SYSCTL_HANDLER_ARGS
+rip_pcblist (SYSCTL_HANDLER_ARGS)
{
int error, i, n, s;
struct inpcb *inp, **inp_list;
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index e38a2a7..92594b0 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -772,7 +772,7 @@ tcp_notify(inp, error)
}
static int
-tcp_pcblist SYSCTL_HANDLER_ARGS
+tcp_pcblist (SYSCTL_HANDLER_ARGS)
{
int error, i, n, s;
struct inpcb *inp, **inp_list;
@@ -864,7 +864,7 @@ SYSCTL_PROC(_net_inet_tcp, TCPCTL_PCBLIST, pcblist, CTLFLAG_RD, 0, 0,
tcp_pcblist, "S,xtcpcb", "List of active TCP connections");
static int
-tcp_getcred SYSCTL_HANDLER_ARGS
+tcp_getcred (SYSCTL_HANDLER_ARGS)
{
struct sockaddr_in addrs[2];
struct inpcb *inp;
@@ -894,7 +894,7 @@ SYSCTL_PROC(_net_inet_tcp, OID_AUTO, getcred, CTLTYPE_OPAQUE|CTLFLAG_RW,
#ifdef INET6
static int
-tcp6_getcred SYSCTL_HANDLER_ARGS
+tcp6_getcred (SYSCTL_HANDLER_ARGS)
{
struct sockaddr_in6 addrs[2];
struct inpcb *inp;
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index 1cf64fe..c927aee 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -68,7 +68,7 @@
#endif
static int
-sysctl_msec_to_ticks SYSCTL_HANDLER_ARGS
+sysctl_msec_to_ticks (SYSCTL_HANDLER_ARGS)
{
int error, s, tt;
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c
index e38a2a7..92594b0 100644
--- a/sys/netinet/tcp_timewait.c
+++ b/sys/netinet/tcp_timewait.c
@@ -772,7 +772,7 @@ tcp_notify(inp, error)
}
static int
-tcp_pcblist SYSCTL_HANDLER_ARGS
+tcp_pcblist (SYSCTL_HANDLER_ARGS)
{
int error, i, n, s;
struct inpcb *inp, **inp_list;
@@ -864,7 +864,7 @@ SYSCTL_PROC(_net_inet_tcp, TCPCTL_PCBLIST, pcblist, CTLFLAG_RD, 0, 0,
tcp_pcblist, "S,xtcpcb", "List of active TCP connections");
static int
-tcp_getcred SYSCTL_HANDLER_ARGS
+tcp_getcred (SYSCTL_HANDLER_ARGS)
{
struct sockaddr_in addrs[2];
struct inpcb *inp;
@@ -894,7 +894,7 @@ SYSCTL_PROC(_net_inet_tcp, OID_AUTO, getcred, CTLTYPE_OPAQUE|CTLFLAG_RW,
#ifdef INET6
static int
-tcp6_getcred SYSCTL_HANDLER_ARGS
+tcp6_getcred (SYSCTL_HANDLER_ARGS)
{
struct sockaddr_in6 addrs[2];
struct inpcb *inp;
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 3eac9ee..d6f5f0c 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -513,7 +513,7 @@ udp_ctlinput(cmd, sa, vip)
}
static int
-udp_pcblist SYSCTL_HANDLER_ARGS
+udp_pcblist (SYSCTL_HANDLER_ARGS)
{
int error, i, n, s;
struct inpcb *inp, **inp_list;
@@ -599,7 +599,7 @@ SYSCTL_PROC(_net_inet_udp, UDPCTL_PCBLIST, pcblist, CTLFLAG_RD, 0, 0,
udp_pcblist, "S,xinpcb", "List of active UDP sockets");
static int
-udp_getcred SYSCTL_HANDLER_ARGS
+udp_getcred (SYSCTL_HANDLER_ARGS)
{
struct sockaddr_in addrs[2];
struct inpcb *inp;
OpenPOWER on IntegriCloud