summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_domain.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-16 02:14:44 +0000
committerbde <bde@FreeBSD.org>1995-12-16 02:14:44 +0000
commit113a24d243071d21a3c6113ce3024dbbf68fc5f6 (patch)
tree94e1ead13196636285fcd186a736f2f784654100 /sys/kern/uipc_domain.c
parenta98acddd049887630b40a28d26f92685a8f965c8 (diff)
downloadFreeBSD-src-113a24d243071d21a3c6113ce3024dbbf68fc5f6.zip
FreeBSD-src-113a24d243071d21a3c6113ce3024dbbf68fc5f6.tar.gz
Uniformized pr_ctlinput protosw functions. The third arg is now `void
*' instead of caddr_t and it isn't optional (it never was). Most of the netipx (and netns) pr_ctlinput functions abuse the second arg instead of using the third arg but fixing this is beyond the scope of this round of changes.
Diffstat (limited to 'sys/kern/uipc_domain.c')
-rw-r--r--sys/kern/uipc_domain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_domain.c b/sys/kern/uipc_domain.c
index f6fac9a..b64a44b 100644
--- a/sys/kern/uipc_domain.c
+++ b/sys/kern/uipc_domain.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uipc_domain.c 8.2 (Berkeley) 10/18/93
- * $Id: uipc_domain.c,v 1.10 1995/11/16 18:59:50 phk Exp $
+ * $Id: uipc_domain.c,v 1.11 1995/12/02 17:10:38 bde Exp $
*/
#include <sys/param.h>
@@ -198,7 +198,7 @@ pfctlinput(cmd, sa)
for (dp = domains; dp; dp = dp->dom_next)
for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++)
if (pr->pr_ctlinput)
- (*pr->pr_ctlinput)(cmd, sa, (caddr_t)0);
+ (*pr->pr_ctlinput)(cmd, sa, (void *)0);
}
static void
OpenPOWER on IntegriCloud