Commit 5d76a31e authored by Anton Blanchard's avatar Anton Blanchard Committed by Linus Torvalds

[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: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent bc2a61f3
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
/**************************************************/ /**************************************************/
/* globals and useful constants */ /* 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 static ssize_t
ikconfig_read_current(struct file *file, char __user *buf, ikconfig_read_current(struct file *file, char __user *buf,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include "inftrees.h" #include "inftrees.h"
#include "infutil.h" #include "infutil.h"
static const char inflate_copyright[] = static const char inflate_copyright[] __attribute_used__ =
" inflate 1.1.3 Copyright 1995-1998 Mark Adler "; " inflate 1.1.3 Copyright 1995-1998 Mark Adler ";
/* /*
If you use the zlib library in a product, an acknowledgment is welcome If you use the zlib library in a product, an acknowledgment is welcome
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment