Return-Path: Received: from mail132.messagelabs.com ([216.82.242.115]:64715 "EHLO mail132.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755974Ab1FUAzK (ORCPT ); Mon, 20 Jun 2011 20:55:10 -0400 From: H Hartley Sweeten To: Linux Kernel Subject: [PATCH] svcsock.c: include sunrpc.h to quite sparse noise Date: Mon, 20 Jun 2011 17:54:51 -0700 CC: , , , , , Content-Type: text/plain; charset="utf-8" Message-ID: <201106201754.51704.hartleys@visionengravers.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 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 Cc: Trond Myklebust Cc: "J. Bruce Fields" Cc: Neil Brown Cc: "David S. Miller" --- diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index af04f77..f2cb5b8 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c @@ -51,6 +51,8 @@ #include #include +#include "sunrpc.h" + #define RPCDBG_FACILITY RPCDBG_SVCXPRT