diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-05-11 10:38:34 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-05-11 10:38:34 +0000 |
commit | 972aaf598c3dd94b766cd860a8efda7dc734015b (patch) | |
tree | 8e5e97cc8785819d97ecc4c18c4d4651c9971f1b /sys/netipx/ipx_outputfl.c | |
parent | 47d37a80be0931ad72e67db6ba915221afdfeb4f (diff) | |
download | FreeBSD-src-972aaf598c3dd94b766cd860a8efda7dc734015b.zip FreeBSD-src-972aaf598c3dd94b766cd860a8efda7dc734015b.tar.gz |
Use ANSI C function declarations throughout netipx.
Remove 'register' use.
Diffstat (limited to 'sys/netipx/ipx_outputfl.c')
-rw-r--r-- | sys/netipx/ipx_outputfl.c | 14 |
1 files changed, 5 insertions, 9 deletions
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; |