summaryrefslogtreecommitdiffstats
path: root/fs/proc/proc_sysctl.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-10-03 00:33:54 +0400
committerAlexey Dobriyan <adobriyan@gmail.com>2008-10-10 04:18:56 +0400
commit81324364b76eba592255d4b712e522f9fd8d25f4 (patch)
tree97d34d9776843086706f88eab9296534ad5511ec /fs/proc/proc_sysctl.c
parenta70973c2141f98e2046f7ce9a29774bf254cf70f (diff)
downloadtalos-obmc-linux-81324364b76eba592255d4b712e522f9fd8d25f4.tar.gz
talos-obmc-linux-81324364b76eba592255d4b712e522f9fd8d25f4.zip
proc: make grab_header() static
Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'fs/proc/proc_sysctl.c')
-rw-r--r--fs/proc/proc_sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c
index daa5f51e534f..945a81043ba2 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);
OpenPOWER on IntegriCloud