From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Bunk Subject: [2.6 patch] make nf_ct_path[] static Date: Wed, 30 Jan 2008 22:02:59 +0200 Message-ID: <20080130200259.GE29368@does.not.exist> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: netfilter-devel@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Pavel Emelyanov , Patrick McHardy , "David S. Miller" Return-path: Received: from smtp5.pp.htv.fi ([213.243.153.39]:37621 "EHLO smtp5.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760235AbYA3UCZ (ORCPT ); Wed, 30 Jan 2008 15:02:25 -0500 Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: This patch makes the needlessly global nf_ct_path[] static. Signed-off-by: Adrian Bunk --- 6396fbcebe3eb61f7e6eb1a671920a515912b005 diff --git a/net/netfilter/nf_conntrack_standalone.c b/net/netfilter/nf_conntrack_standalone.c index 696074a..5bd38a6 100644 --- a/net/netfilter/nf_conntrack_standalone.c +++ b/net/netfilter/nf_conntrack_standalone.c @@ -380,7 +380,7 @@ static ctl_table nf_ct_netfilter_table[] = { { .ctl_name = 0 } }; -struct ctl_path nf_ct_path[] = { +static struct ctl_path nf_ct_path[] = { { .procname = "net", .ctl_name = CTL_NET, }, { } };