diff options
| author | Adrian Bunk <bunk@stusta.de> | 2005-03-11 16:40:56 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-11 16:40:56 -0800 |
| commit | 9d340cb7c38e0872b742890d76190cc3ac3cfd50 (patch) | |
| tree | dfdeec48c5c8bbee1fc210402fb268d78d9d59ec /kernel/sys.c | |
| parent | af942602d0cc67254c861ed1c9a4171ccd6e0e32 (diff) | |
[PATCH] Make lots of things static
This is a megarollup of ~60 patches which give various things static scope.
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 'kernel/sys.c')
| -rw-r--r-- | kernel/sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index 51f8f3a183f2..462d78d55895 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -90,7 +90,7 @@ int cad_pid = 1; */ static struct notifier_block *reboot_notifier_list; -DEFINE_RWLOCK(notifier_lock); +static DEFINE_RWLOCK(notifier_lock); /** * notifier_chain_register - Add notifier to a notifier chain @@ -1540,7 +1540,7 @@ asmlinkage long sys_setrlimit(unsigned int resource, struct rlimit __user *rlim) * given child after it's reaped, or none so this sample is before reaping. */ -void k_getrusage(struct task_struct *p, int who, struct rusage *r) +static void k_getrusage(struct task_struct *p, int who, struct rusage *r) { struct task_struct *t; unsigned long flags; |
