aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk2010-06-20 23:33:02 +0200
committerWolfgang Denk2010-07-04 23:50:55 +0200
commitc0c15379e22b1006806c9219934415b84e8d338a (patch)
tree0e0e0b42d36f2d43f5dc33123d14f0b6982d19a8 /common
parentcd47a83b07a4ae13a7fa7356f010b9fe2f0566b6 (diff)
exports.c: fix warning: 'dummy' defined but not used
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>
Diffstat (limited to 'common')
-rw-r--r--common/exports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/exports.c b/common/exports.c
index 60bba750f75..ceee73a13ef 100644
--- 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)
{
}