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 60bba750f75990cc4f0b644ec49df6c42db55cc0..ceee73a13ef4d74d739463c293c63ade9395d58b 100644 (file)
@@ -3,7 +3,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-static void dummy(void)
+__attribute__((unused)) static void dummy(void)
 {
 }