summaryrefslogtreecommitdiff
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
parentcd47a83b07a4ae13a7fa7356f010b9fe2f0566b6 (diff)
downloadu-boot-imx-c0c15379e22b1006806c9219934415b84e8d338a.zip
u-boot-imx-c0c15379e22b1006806c9219934415b84e8d338a.tar.gz
u-boot-imx-c0c15379e22b1006806c9219934415b84e8d338a.tar.bz2
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>
-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)
{
}