浏览代码

Patch from Joakim Tjernlund to get rid of an annoying warning.

Eric Andersen 21 年之前
父节点
当前提交
442057f0d3
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      ldso/ldso/powerpc/boot1_arch.h
  2. 1 1
      ldso/ldso/powerpc/dl-startup.h

+ 1 - 1
ldso/ldso/powerpc/boot1_arch.h

@@ -18,5 +18,5 @@ asm("" \
 );
 
 #define _dl_boot _dl_boot2
-#define LD_BOOT(X)   static void *  __attribute__ ((unused)) _dl_boot (X)
+#define LD_BOOT(X) static void __attribute__ ((unused)) _dl_boot (X)
 

+ 1 - 1
ldso/ldso/powerpc/dl-startup.h

@@ -18,5 +18,5 @@ asm("" \
 );
 
 #define _dl_boot _dl_boot2
-#define LD_BOOT(X)   static void *  __attribute__ ((unused)) _dl_boot (X)
+#define LD_BOOT(X) static void __attribute__ ((unused)) _dl_boot (X)