From patchwork Sat Feb 8 20:09:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rashika Kheria X-Patchwork-Id: 318502 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 878BE2C0040 for ; Sun, 9 Feb 2014 07:09:29 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751519AbaBHUJ0 (ORCPT ); Sat, 8 Feb 2014 15:09:26 -0500 Received: from mail-pb0-f45.google.com ([209.85.160.45]:63819 "EHLO mail-pb0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751102AbaBHUJZ (ORCPT ); Sat, 8 Feb 2014 15:09:25 -0500 Received: by mail-pb0-f45.google.com with SMTP id un15so4642289pbc.32 for ; Sat, 08 Feb 2014 12:09:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=q29h+0YnCNBLfJGM6huHAps3rCVkk0B9OEXe5UNrpFw=; b=HSRLbiyOzpZkGORrZPIuJRHsyLrJnrSCKANqaaNiOgGp4NewY8SuIzaOnDf7rj+lqO FEquY4srTmVD3ls6Qjy+Exatskt+wYlETtOREw3rl7efhYhKll+SmmxKqsW78WUiyDE0 k/Icb7zmU9muXyAxww+nQGocHa7iZN7bOyQQcdFoFU2HH9GWR6yjQ7S9EijtMRtxvy72 q0RfYQ2ZIEiWs0bmFOYNgJ55JNLTIzeRKWfu38DZbi68fnnSev1KcogGio3mLCyXv1st 5SRCystCUZbpLL8r6OgTPPhRvJmlfhZTXt0r1YQbEfhjGGpBKVLSYn3Xy0KOgIPsT+0o Tr7A== X-Received: by 10.68.223.9 with SMTP id qq9mr27986728pbc.58.1391890164952; Sat, 08 Feb 2014 12:09:24 -0800 (PST) Received: from rashika ([14.139.82.6]) by mx.google.com with ESMTPSA id vn10sm26300950pbc.21.2014.02.08.12.09.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Feb 2014 12:09:23 -0800 (PST) Date: Sun, 9 Feb 2014 01:39:20 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Cc: Pablo Neira Ayuso , Patrick McHardy , Jozsef Kadlecsik , "David S. Miller" , netfilter-devel@vger.kernel.org, netfilter@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, josh@joshtriplett.org Subject: [PATCH 12/13] net: Include appropriate header file in netfilter/nft_lookup.c Message-ID: <401aceca1fc3f95097624fe8433635491b39248d.1391888654.git.rashika.kheria@gmail.com> References: <6f029c895035908595957fb16ab445c82793c77d.1391888654.git.rashika.kheria@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <6f029c895035908595957fb16ab445c82793c77d.1391888654.git.rashika.kheria@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Include appropriate header file net/netfilter/nf_tables_core.h in net/netfilter/nft_lookup.c because it has prototype declaration of functions defined in net/netfilter/nft_lookup.c. This eliminates the following warning in net/netfilter/nft_lookup.c: net/netfilter/nft_lookup.c:133:12: warning: no previous prototype for ‘nft_lookup_module_init’ [-Wmissing-prototypes] net/netfilter/nft_lookup.c:138:6: warning: no previous prototype for ‘nft_lookup_module_exit’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- net/netfilter/nft_lookup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/netfilter/nft_lookup.c b/net/netfilter/nft_lookup.c index 8a6116b..bb4ef4c 100644 --- a/net/netfilter/nft_lookup.c +++ b/net/netfilter/nft_lookup.c @@ -16,6 +16,7 @@ #include #include #include +#include struct nft_lookup { struct nft_set *set;