Fix function headers, remove 'register' from variable declarations.

This commit is contained in:
Luigi Rizzo 2002-11-17 18:13:02 +00:00
parent 9b77fbf0a2
commit a9897b2662

View File

@ -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 <sys/mbuf.h>
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;