svcsock.c: include sunrpc.h to quiet sparse noise
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 21 Jun 2011 00:54:51 +0000 (17:54 -0700)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 15 Jul 2011 22:58:43 +0000 (18:58 -0400)
Include the private header sunrpc.h to pickup the declaration of the
function svc_send_common to quiet the following sparse noise:

warning: symbol 'svc_send_common' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Neil Brown <neilb@suse.de>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcsock.c

index af04f77..f2cb5b8 100644 (file)
@@ -51,6 +51,8 @@
 #include <linux/sunrpc/stats.h>
 #include <linux/sunrpc/xprt.h>
 
+#include "sunrpc.h"
+
 #define RPCDBG_FACILITY        RPCDBG_SVCXPRT