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

 common/exports.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/common/exports.c b/common/exports.c
index 60bba75..8525db7 100644
--- a/common/exports.c
+++ b/common/exports.c
@@ -3,6 +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