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-Tag: v2010.09-rc1~95 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0c15379e22b1006806c9219934415b84e8d338a;p=platform%2Fkernel%2Fu-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 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) { }