浏览代码

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())