diff options
author | bde <bde@FreeBSD.org> | 1995-12-16 02:14:44 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-16 02:14:44 +0000 |
commit | 113a24d243071d21a3c6113ce3024dbbf68fc5f6 (patch) | |
tree | 94e1ead13196636285fcd186a736f2f784654100 /sys/netipx/ipx_input.c | |
parent | a98acddd049887630b40a28d26f92685a8f965c8 (diff) | |
download | FreeBSD-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/netipx/ipx_input.c')
-rw-r--r-- | sys/netipx/ipx_input.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/netipx/ipx_input.c b/sys/netipx/ipx_input.c index 25bb85f..3b77ac4 100644 --- a/sys/netipx/ipx_input.c +++ b/sys/netipx/ipx_input.c @@ -33,7 +33,7 @@ * * @(#)ipx_input.c * - * $Id: ipx_input.c,v 1.4 1995/11/04 09:02:54 julian Exp $ + * $Id: ipx_input.c,v 1.5 1995/11/24 11:43:52 bde Exp $ */ #include <sys/param.h> @@ -280,10 +280,12 @@ u_char ipxctlerrmap[PRC_NCMDS] = { }; void -ipx_ctlinput(cmd, arg) +ipx_ctlinput(cmd, arg_as_sa, dummy) int cmd; - caddr_t arg; + struct sockaddr *arg_as_sa; /* XXX should be swapped with dummy */ + void *dummy; { + caddr_t arg = (/* XXX */ caddr_t)arg_as_sa; struct ipx_addr *ipx; struct ipxpcb *ipxp; struct ipx_errp *errp; |