From patchwork Sun Feb 9 17:01:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rashika Kheria X-Patchwork-Id: 318618 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 A7C7E2C00A2 for ; Mon, 10 Feb 2014 04:01:55 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751515AbaBIRBx (ORCPT ); Sun, 9 Feb 2014 12:01:53 -0500 Received: from mail-pd0-f174.google.com ([209.85.192.174]:41457 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751438AbaBIRBw (ORCPT ); Sun, 9 Feb 2014 12:01:52 -0500 Received: by mail-pd0-f174.google.com with SMTP id z10so5162351pdj.33 for ; Sun, 09 Feb 2014 09:01:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=BrOx3O9v4rHVqCRheiUsA3AwIroGbEcHiUJrS6nvpUo=; b=rGoLcnHgrc3iOQqw12l7wCD66RtSSCJYPrabKTYhAP73QW12l3PNScg8XQgE7wkuWy w4qETvhYHR3l806FH+uI3dHxf379+ssrUby6nwmDYJSGiYM5Y4YlKFTAMyqKr/kTEm2X fFRxwncAcWwAAJbTbvZEIELXmB6J0818rH7kVO8sOXYoU5Iy8Sn2VziyqWlcAgIOOd0M MdMNZ68/GMaNT88zb6PP+BQLt0m9mfsRoOvXbDTfb8R1J79t1yi3e4NyAcnjSvEXtr++ r3NQy1AJAhY392j/HC2qNznlXy1XKFhBXr8DusTVZxXTtSsfVVx/0hwsS2rxXr4iOpKj VdpA== X-Received: by 10.66.51.137 with SMTP id k9mr21123227pao.11.1391965311585; Sun, 09 Feb 2014 09:01:51 -0800 (PST) Received: from rashika.iiit.ac.in ([14.139.82.6]) by mx.google.com with ESMTPSA id om6sm33952850pbc.43.2014.02.09.09.01.47 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Feb 2014 09:01:50 -0800 (PST) From: Rashika Kheria To: linux-kernel@vger.kernel.org, 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: =?UTF-8?q?=5BPATCH=20v2=2012/13=5D=20net=3A=20Include=20appropriate=20header=20file=20in=20netfilter/nft=5Flookup=2Ec?= Date: Sun, 9 Feb 2014 22:31:42 +0530 Message-Id: <1224796f5816c5dd1e6f5be3593f32cb17a8df58.1391955925.git.rashika.kheria@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <6f029c895035908595957fb16ab445c82793c77d.1391955924.git.rashika.kheria@gmail.com> References: <6f029c895035908595957fb16ab445c82793c77d.1391955924.git.rashika.kheria@gmail.com> MIME-Version: 1.0 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;