diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2012-01-11 23:47:07 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2012-01-11 23:47:07 +0000 |
commit | e0fce3e374adbb6bbe14f06b52c07aa3bb304405 (patch) | |
tree | dda4e595b66cd8d70bc12d61c783b3d718e0e322 /sys/net/raw_cb.c | |
parent | 640d78940ce7ecc893aaf3cac909b8035d1d84b7 (diff) |
Ansify raw_... function definitions. No binary change.
from Michael W. Bombardieri; ok henning@
Diffstat (limited to 'sys/net/raw_cb.c')
-rw-r--r-- | sys/net/raw_cb.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/sys/net/raw_cb.c b/sys/net/raw_cb.c index b0dc1e6048a..9c2ba08a610 100644 --- a/sys/net/raw_cb.c +++ b/sys/net/raw_cb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_cb.c,v 1.5 2003/12/10 07:22:42 itojun Exp $ */ +/* $OpenBSD: raw_cb.c,v 1.6 2012/01/11 23:47:06 bluhm Exp $ */ /* $NetBSD: raw_cb.c,v 1.9 1996/02/13 22:00:39 christos Exp $ */ /* @@ -64,9 +64,7 @@ struct rawcbhead rawcb; * of buffer space for the socket. */ int -raw_attach(so, proto) - struct socket *so; - int proto; +raw_attach(struct socket *so, int proto) { struct rawcb *rp = sotorawcb(so); int error; @@ -92,8 +90,7 @@ raw_attach(so, proto) * socket resources. */ void -raw_detach(rp) - 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 @@ -127,9 +123,7 @@ raw_disconnect(rp) #ifdef notdef int -raw_bind(so, nam) - struct socket *so; - struct mbuf *nam; +raw_bind(struct socket *so, struct mbuf *nam) { struct sockaddr *addr = mtod(nam, struct sockaddr *); struct rawcb *rp; |