exports.c: fix warning: 'dummy' defined but not used
authorWolfgang Denk <wd@denx.de>
Sun, 20 Jun 2010 21:33:02 +0000 (23:33 +0200)
committerWolfgang 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

index 60bba75..ceee73a 100644 (file)
@@ -3,7 +3,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-static void dummy(void)
+__attribute__((unused)) static void dummy(void)
 {
 }