diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-03-25 03:07:06 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 08:22:52 -0800 |
commit | 9871728b756646e0d758a966ba00f2c0ff812817 (patch) | |
tree | 32899f2bc1e72d6ba51665b59350e9729e7f5287 /kernel | |
parent | 8d3b33f67fdc0fb364a1ef6d8fbbea7c2e4e6c98 (diff) | |
download | linux-9871728b756646e0d758a966ba00f2c0ff812817.tar.gz linux-9871728b756646e0d758a966ba00f2c0ff812817.tar.bz2 linux-9871728b756646e0d758a966ba00f2c0ff812817.zip |
[PATCH] kernel/params.c: make param_array() static
param_array() in kernel/params.c can now become static.
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')
-rw-r--r-- | kernel/params.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/params.c b/kernel/params.c index a29150582310..9de637a5c8bc 100644 --- a/kernel/params.c +++ b/kernel/params.c @@ -265,12 +265,12 @@ int param_get_invbool(char *buffer, struct kernel_param *kp) } /* We cheat here and temporarily mangle the string. */ -int param_array(const char *name, - const char *val, - unsigned int min, unsigned int max, - void *elem, int elemsize, - int (*set)(const char *, struct kernel_param *kp), - int *num) +static int param_array(const char *name, + const char *val, + unsigned int min, unsigned int max, + void *elem, int elemsize, + int (*set)(const char *, struct kernel_param *kp), + int *num) { int ret; struct kernel_param kp; |