소스 검색

includes: fix a warning triggered by -Wstrict-prototypes.

git-svn-id: file:///var/svn/tigccpp/trunk@1362 9552661e-59e3-4036-b4f2-dbe53926924f
debrouxl 15 년 전
부모
커밋
ef2bdcf8ef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tigcc/include/C/default.h

+ 1 - 1
tigcc/include/C/default.h

@@ -404,7 +404,7 @@ typedef union
 
 #endif
 
-extern float __BC()__ATTR_LIB_ASM__;
+extern float __BC(short,...)__ATTR_LIB_ASM__;
 #define _tios_float_1(f,x,t) ({typedef float(*__temp__type__)(short,t)__ATTR_LIB_ASM__;((__temp__type__)__BC)(4*0x##f,x);})
 #define _tios_float_2(f,x,y,t1,t2) ({typedef float(*__temp__type__)(short,t1,t2)__ATTR_LIB_ASM__;((__temp__type__)__BC)(4*0x##f,x,y);})