소스 검색

Replace 'new' in a prototype to avoid c++ problems.

Manuel Novoa III 22 년 전
부모
커밋
e90f94f702
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      libc/sysdeps/linux/common/bits/uClibc_locale.h

+ 1 - 1
libc/sysdeps/linux/common/bits/uClibc_locale.h

@@ -325,7 +325,7 @@ extern __locale_t __curlocale_var;
 #ifdef __UCLIBC_HAS_THREADS__
 
 extern __locale_t __curlocale(void)  __THROW __attribute__ ((__const__));
-extern __locale_t __curlocale_set(__locale_t new);
+extern __locale_t __curlocale_set(__locale_t newloc);
 #define __UCLIBC_CURLOCALE           (__curlocale())
 #define __UCLIBC_CURLOCALE_DATA      (*__curlocale())