From 972aaf598c3dd94b766cd860a8efda7dc734015b Mon Sep 17 00:00:00 2001 From: rwatson Date: Fri, 11 May 2007 10:38:34 +0000 Subject: Use ANSI C function declarations throughout netipx. Remove 'register' use. --- sys/netipx/ipx_outputfl.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'sys/netipx/ipx_outputfl.c') diff --git a/sys/netipx/ipx_outputfl.c b/sys/netipx/ipx_outputfl.c index df16bde..61d8759 100644 --- a/sys/netipx/ipx_outputfl.c +++ b/sys/netipx/ipx_outputfl.c @@ -77,13 +77,10 @@ __FBSDID("$FreeBSD$"); static int ipx_copy_output = 0; int -ipx_outputfl(m0, ro, flags) - struct mbuf *m0; - struct route *ro; - int flags; +ipx_outputfl(struct mbuf *m0, struct route *ro, int flags) { - register struct ipx *ipx = mtod(m0, struct ipx *); - register struct ifnet *ifp = NULL; + struct ipx *ipx = mtod(m0, struct ipx *); + struct ifnet *ifp = NULL; int error = 0; struct sockaddr_ipx *dst; struct route ipxroute; @@ -182,10 +179,9 @@ done: * that have ipx configured and isn't in the list yet. */ int -ipx_output_type20(m) - struct mbuf *m; +ipx_output_type20(struct mbuf *m) { - register struct ipx *ipx; + struct ipx *ipx; union ipx_net *nbnet; struct ipx_ifaddr *ia, *tia = NULL; int error = 0; -- cgit v1.1