Also get rid of the #ifdef's while doing this.

Suggested-by: Mike Frysinger <[email protected]>
Signed-off-by: Wolfgang Denk <[email protected]>
---
v2:     fix compile problem for some boards.
v3:     get rid of #ifdef mess and use attribute instead as suggested
        by Mike Frysinger
v4:     Avoid separate prototype declaration.

 common/exports.c |    2 +-
 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)
 {
 }
 
-- 
1.7.0.1

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to