浏览代码

exports.c: fix warning: 'dummy' defined but not used

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>
Wolfgang Denk 15 年之前
父节点
当前提交
c0c15379e2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      common/exports.c

+ 1 - 1
common/exports.c

@@ -3,7 +3,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-static void dummy(void)
+__attribute__((unused)) static void dummy(void)
 {
 }