From a9897b2662f65e5871230e7c14cbb7e3efcdba5d Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Sun, 17 Nov 2002 18:13:02 +0000 Subject: [PATCH] Fix function headers, remove 'register' from variable declarations. --- sys/net/raw_cb.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/sys/net/raw_cb.c b/sys/net/raw_cb.c index 7e45500fa694..179a08fee8ac 100644 --- a/sys/net/raw_cb.c +++ b/sys/net/raw_cb.c @@ -63,11 +63,9 @@ static u_long raw_recvspace = RAWRCVQ; * of buffer space for the socket. */ int -raw_attach(so, proto) - register struct socket *so; - int proto; +raw_attach(struct socket *so, int proto) { - register struct rawcb *rp = sotorawcb(so); + struct rawcb *rp = sotorawcb(so); int error; /* @@ -92,8 +90,7 @@ raw_attach(so, proto) * socket resources. */ void -raw_detach(rp) - register struct rawcb *rp; +raw_detach(struct rawcb *rp) { struct socket *so = rp->rcb_socket; @@ -112,8 +109,7 @@ raw_detach(rp) * Disconnect and possibly release resources. */ void -raw_disconnect(rp) - struct rawcb *rp; +raw_disconnect(struct rawcb *rp) { #ifdef notdef @@ -129,9 +125,7 @@ raw_disconnect(rp) #include int -raw_bind(so, nam) - register struct socket *so; - struct mbuf *nam; +raw_bind(struct socket *so, struct mbuf *nam) { struct sockaddr *addr = mtod(nam, struct sockaddr *); register struct rawcb *rp;