Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2014 14:47:05 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r270821 - head/sys/ofed/drivers/infiniband/ulp/sdp
Message-ID:  <201408291447.s7TEl5uD092222@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Fri Aug 29 14:47:05 2014
New Revision: 270821
URL: http://svnweb.freebsd.org/changeset/base/270821

Log:
  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 ;-)

Modified:
  head/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h

Modified: head/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
==============================================================================
--- head/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h	Fri Aug 29 14:38:57 2014	(r270820)
+++ head/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h	Fri Aug 29 14:47:05 2014	(r270821)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408291447.s7TEl5uD092222>