summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2014-08-29 14:47:05 +0000
committerbz <bz@FreeBSD.org>2014-08-29 14:47:05 +0000
commit5fa46aaa7491aa347cb56b2883c175d05c9c553c (patch)
tree62d5440a8c25817b5507f394e2c489d6009bd540
parent24aacf8af7c4dd15b942203ee05daf5f3b4aa563 (diff)
downloadFreeBSD-src-5fa46aaa7491aa347cb56b2883c175d05c9c553c.zip
FreeBSD-src-5fa46aaa7491aa347cb56b2883c175d05c9c553c.tar.gz
Forward declare struct kiocb, which is only used for an unsued function
argument but not actually defined anywhere. This fixes the compile complaining about "declaration of 'struct kiocb' will not be visible outside of this function". MFC after: 2 weeks X-MFC with: whatever changed caused the breakage ;-)
-rw-r--r--sys/ofed/drivers/infiniband/ulp/sdp/sdp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h b/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
index 2ba1a89..5c573d2 100644
--- a/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
+++ b/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
@@ -703,6 +703,7 @@ void sdp_do_posts(struct sdp_sock *ssk);
void sdp_rx_comp_full(struct sdp_sock *ssk);
/* sdp_zcopy.c */
+struct kiocb;
int sdp_sendmsg_zcopy(struct kiocb *iocb, struct socket *sk, struct iovec *iov);
int sdp_handle_srcavail(struct sdp_sock *ssk, struct sdp_srcah *srcah);
void sdp_handle_sendsm(struct sdp_sock *ssk, u32 mseq_ack);
OpenPOWER on IntegriCloud