summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-03-15 20:41:15 +0000
committerrwatson <rwatson@FreeBSD.org>2006-03-15 20:41:15 +0000
commitc3ce403d42016ced7a153c0e564ba6ef71f4856b (patch)
tree4bfe4faa527ba414515d4eb0aeb63659a5628850
parent30dc06401aa34fd582909e730aa43c17f13ae3ad (diff)
downloadFreeBSD-src-c3ce403d42016ced7a153c0e564ba6ef71f4856b.zip
FreeBSD-src-c3ce403d42016ced7a153c0e564ba6ef71f4856b.tar.gz
Back out accidentally committed protosw.h:1.49. One of those days. It
will be recommitted with the remainder of the change in the next day or two. Submitted by: thompsa
-rw-r--r--sys/sys/protosw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/protosw.h b/sys/sys/protosw.h
index 5f39c69..bcf263f 100644
--- a/sys/sys/protosw.h
+++ b/sys/sys/protosw.h
@@ -196,7 +196,7 @@ struct uio;
*/
struct pr_usrreqs {
double __Break_the_struct_layout_for_now;
- void (*pru_abort)(struct socket *so);
+ int (*pru_abort)(struct socket *so);
int (*pru_accept)(struct socket *so, struct sockaddr **nam);
int (*pru_attach)(struct socket *so, int proto, struct thread *td);
int (*pru_bind)(struct socket *so, struct sockaddr *nam,
@@ -246,7 +246,7 @@ struct pr_usrreqs {
* All nonvoid pru_*() functions below return EOPNOTSUPP.
*/
-void pru_abort_notsupp(struct socket *so);
+int pru_abort_notsupp(struct socket *so);
int pru_accept_notsupp(struct socket *so, struct sockaddr **nam);
int pru_attach_notsupp(struct socket *so, int proto, struct thread *td);
int pru_bind_notsupp(struct socket *so, struct sockaddr *nam,
OpenPOWER on IntegriCloud