projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd47a83
)
exports.c: fix warning: 'dummy' defined but not used
author
Wolfgang Denk
<wd@denx.de>
Sun, 20 Jun 2010 21:33:02 +0000
(23:33 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 4 Jul 2010 21:50:55 +0000
(23:50 +0200)
Also get rid of the #ifdef's while doing this.
Suggested-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Wolfgang Denk <wd@denx.de>
common/exports.c
patch
|
blob
|
history
diff --git
a/common/exports.c
b/common/exports.c
index 60bba750f75990cc4f0b644ec49df6c42db55cc0..ceee73a13ef4d74d739463c293c63ade9395d58b 100644
(file)
--- a/
common/exports.c
+++ b/
common/exports.c
@@
-3,7
+3,7
@@
DECLARE_GLOBAL_DATA_PTR;
-static void dummy(void)
+
__attribute__((unused))
static void dummy(void)
{
}