summaryrefslogtreecommitdiffstats
path: root/common/exports.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-06-20 23:33:02 +0200
committerWolfgang Denk <wd@denx.de>2010-07-04 23:50:55 +0200
commitc0c15379e22b1006806c9219934415b84e8d338a (patch)
tree0e0e0b42d36f2d43f5dc33123d14f0b6982d19a8 /common/exports.c
parentcd47a83b07a4ae13a7fa7356f010b9fe2f0566b6 (diff)
downloadblackbird-obmc-uboot-c0c15379e22b1006806c9219934415b84e8d338a.tar.gz
blackbird-obmc-uboot-c0c15379e22b1006806c9219934415b84e8d338a.zip
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/exports.c')
-rw-r--r--common/exports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/exports.c b/common/exports.c
index 60bba750f7..ceee73a13e 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)
{
}
OpenPOWER on IntegriCloud