summaryrefslogtreecommitdiffstats
path: root/sys/netipx/spx_usrreq.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/netipx/spx_usrreq.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/netipx/spx_usrreq.c')
-rw-r--r--sys/netipx/spx_usrreq.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c
index a074bea..656a1fb 100644
--- a/sys/netipx/spx_usrreq.c
+++ b/sys/netipx/spx_usrreq.c
@@ -33,7 +33,7 @@
*
* @(#)spx_usrreq.h
*
- * $Id: spx_usrreq.c,v 1.5 1995/11/24 11:43:55 bde Exp $
+ * $Id: spx_usrreq.c,v 1.6 1995/11/24 12:01:08 bde Exp $
*/
#include <sys/param.h>
@@ -585,10 +585,12 @@ present:
}
void
-spx_ctlinput(cmd, arg)
+spx_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 *na;
struct ipx_errp *errp = (struct ipx_errp *)arg;
struct ipxpcb *ipxp;
OpenPOWER on IntegriCloud