summaryrefslogtreecommitdiff
path: root/common/exports.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-06-20 21:33:02 (GMT)
committerWolfgang Denk <wd@denx.de>2010-07-04 21:50:55 (GMT)
commitc0c15379e22b1006806c9219934415b84e8d338a (patch)
tree0e0e0b42d36f2d43f5dc33123d14f0b6982d19a8 /common/exports.c
parentcd47a83b07a4ae13a7fa7356f010b9fe2f0566b6 (diff)
downloadu-boot-fsl-qoriq-c0c15379e22b1006806c9219934415b84e8d338a.tar.xz
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 60bba75..ceee73a 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)
{
}