diff options
author | Anton Blanchard <anton@samba.org> | 2004-07-04 20:26:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-07-04 20:26:31 -0700 |
commit | 5d76a31ed993a5b13504a400d6c627158cc7c348 (patch) | |
tree | 679f88b21d02250fb0640d6c7ca6953249b6d390 /kernel | |
parent | bc2a61f3701a973aab9d5d23b25ed83eda4a17b6 (diff) | |
download | history-5d76a31ed993a5b13504a400d6c627158cc7c348.tar.gz |
[PATCH] gcc 3.5 fixes #2
gcc 3.5 is warning about unused static variables, add __attribute_unused__
to the 2 places to silence it.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/configs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/configs.c b/kernel/configs.c index d18a944ad249d3..24702113eb58ee 100644 --- a/kernel/configs.c +++ b/kernel/configs.c @@ -58,7 +58,7 @@ /**************************************************/ /* globals and useful constants */ -static const char IKCONFIG_VERSION[] __initdata = "0.7"; +static const char IKCONFIG_VERSION[] __attribute_used__ __initdata = "0.7"; static ssize_t ikconfig_read_current(struct file *file, char __user *buf, |