From: Wolfgang Denk Date: Sun, 20 Jun 2010 21:33:02 +0000 (+0200) Subject: exports.c: fix warning: 'dummy' defined but not used X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c0c15379e22b1006806c9219934415b84e8d338a;p=u-boot.git exports.c: fix warning: 'dummy' defined but not used Also get rid of the #ifdef's while doing this. Suggested-by: Mike Frysinger Signed-off-by: Wolfgang Denk --- diff --git a/common/exports.c b/common/exports.c index 60bba750f7..ceee73a13e 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) { }