diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-01-08 10:02:17 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-09 05:13:48 +0100 |
commit | 97a41e26124330e41aa10ef88cd1711bc3d17460 (patch) | |
tree | 1546db361efaf926c7a970e3ec6044ea8d4b6f4c /kernel/rcutorture.c | |
parent | [PATCH] drivers/isdn/: "extern inline" -> "static inline" (diff) | |
download | linux-97a41e26124330e41aa10ef88cd1711bc3d17460.tar.xz linux-97a41e26124330e41aa10ef88cd1711bc3d17460.zip |
[PATCH] kernel/: small cleanups
This patch contains the following cleanups:
- make needlessly global functions static
- every file should include the headers containing the prototypes for
it's global functions
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/rcutorture.c')
-rw-r--r-- | kernel/rcutorture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c index 49fbbeff201c..36efe088ad81 100644 --- a/kernel/rcutorture.c +++ b/kernel/rcutorture.c @@ -103,7 +103,7 @@ atomic_t n_rcu_torture_error; /* * Allocate an element from the rcu_tortures pool. */ -struct rcu_torture * +static struct rcu_torture * rcu_torture_alloc(void) { struct list_head *p; |