From: Adrian Bunk Subject: [2.6 patch] make fs/proc/proc_sysctl.c:grab_header() static Date: Sun, 17 Aug 2008 23:17:24 +0300 Message-ID: <20080817201724.GF24619@cs181140183.pp.htv.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: linux-fsdevel@vger.kernel.org, Andrew Morton To: Al Viro Return-path: Received: from smtp5.pp.htv.fi ([213.243.153.39]:42093 "EHLO smtp5.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750806AbYHQUTh (ORCPT ); Sun, 17 Aug 2008 16:19:37 -0400 Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: This patch makes the needlessly global grab_header() static. Signed-off-by: Adrian Bunk --- d5d6002b1dc11c33939144a2fd461c517506069e diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c index f9a8b89..84f58e8 100644 --- a/fs/proc/proc_sysctl.c +++ b/fs/proc/proc_sysctl.c @@ -66,7 +66,7 @@ static struct ctl_table *find_in_table(struct ctl_table *p, struct qstr *name) return NULL; } -struct ctl_table_header *grab_header(struct inode *inode) +static struct ctl_table_header *grab_header(struct inode *inode) { if (PROC_I(inode)->sysctl) return sysctl_head_grab(PROC_I(inode)->sysctl);