summaryrefslogtreecommitdiffstats
path: root/fs/proc/root.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-08 01:04:16 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-08 20:14:03 -0800
commitfee781e6c25772db862d3322b4745a896022a4f1 (patch)
treeab1d3ea15594c684eb054bd333a8a38d2ab873a6 /fs/proc/root.c
parent80851ef2a5a404e6054211ca96ecd5ac4b06d297 (diff)
downloadop-kernel-dev-fee781e6c25772db862d3322b4745a896022a4f1.zip
op-kernel-dev-fee781e6c25772db862d3322b4745a896022a4f1.tar.gz
[PATCH] fs/proc/: function prototypes belong in header files
Function prototypes belong into header files. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r--fs/proc/root.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c
index aef148f..6889628 100644
--- a/fs/proc/root.c
+++ b/fs/proc/root.c
@@ -18,6 +18,8 @@
#include <linux/bitops.h>
#include <linux/smp_lock.h>
+#include "internal.h"
+
struct proc_dir_entry *proc_net, *proc_net_stat, *proc_bus, *proc_root_fs, *proc_root_driver;
#ifdef CONFIG_SYSCTL
@@ -36,7 +38,6 @@ static struct file_system_type proc_fs_type = {
.kill_sb = kill_anon_super,
};
-extern int __init proc_init_inodecache(void);
void __init proc_root_init(void)
{
int err = proc_init_inodecache();
OpenPOWER on IntegriCloud