diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-02-15 10:11:00 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-02-15 10:11:00 +0000 |
commit | 62ceb5ba2195709964f9b11f82b7fe5e253d4412 (patch) | |
tree | a61b4f9541cd3ed979051bdf15594b8596203645 /sys/kern | |
parent | b4f5200c2e9b1a32ff99c7e97f1e8f0142bdbdcd (diff) | |
download | FreeBSD-src-62ceb5ba2195709964f9b11f82b7fe5e253d4412.zip FreeBSD-src-62ceb5ba2195709964f9b11f82b7fe5e253d4412.tar.gz |
Rename somaxconn_sysctl() to sysctl_somaxconn() so that I will be able to
claim that sofoo() functions all accept a socket as their first argument.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/uipc_socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index ae993d1..a8d2736 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -163,10 +163,10 @@ MALLOC_DEFINE(M_SONAME, "soname", "socket name"); MALLOC_DEFINE(M_PCB, "pcb", "protocol control block"); static int somaxconn = SOMAXCONN; -static int somaxconn_sysctl(SYSCTL_HANDLER_ARGS); +static int sysctl_somaxconn(SYSCTL_HANDLER_ARGS); /* XXX: we dont have SYSCTL_USHORT */ SYSCTL_PROC(_kern_ipc, KIPC_SOMAXCONN, somaxconn, CTLTYPE_UINT | CTLFLAG_RW, - 0, sizeof(int), somaxconn_sysctl, "I", "Maximum pending socket connection " + 0, sizeof(int), sysctl_somaxconn, "I", "Maximum pending socket connection " "queue size"); static int numopensockets; SYSCTL_INT(_kern_ipc, OID_AUTO, numopensockets, CTLFLAG_RD, @@ -2699,7 +2699,7 @@ socheckuid(struct socket *so, uid_t uid) } static int -somaxconn_sysctl(SYSCTL_HANDLER_ARGS) +sysctl_somaxconn(SYSCTL_HANDLER_ARGS) { int error; int val; |