From f4ed2335bca3ba43596e0210d49eccfe630d197e Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Fri, 28 Nov 2014 06:11:18 +0000 Subject: [PATCH] newlib: fix libiberty warnings git-svn-id: svn://kolibrios.org@5192 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/sdk/sources/newlib/libc/include/ctype.h | 3 ++- contrib/sdk/sources/newlib/libc/include/sys/lock.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/sdk/sources/newlib/libc/include/ctype.h b/contrib/sdk/sources/newlib/libc/include/ctype.h index 969d3ef1f3..f5b153e392 100644 --- a/contrib/sdk/sources/newlib/libc/include/ctype.h +++ b/contrib/sdk/sources/newlib/libc/include/ctype.h @@ -39,10 +39,11 @@ int _EXFUN(toascii, (int __c)); #define _X 0100 #define _B 0200 +extern #ifndef _MB_CAPABLE _CONST #endif -extern __IMPORT char *__ctype_ptr__; +__IMPORT char *__ctype_ptr__; #ifndef __cplusplus /* These macros are intentionally written in a manner that will trigger diff --git a/contrib/sdk/sources/newlib/libc/include/sys/lock.h b/contrib/sdk/sources/newlib/libc/include/sys/lock.h index 725b73aec8..8a43b7092a 100644 --- a/contrib/sdk/sources/newlib/libc/include/sys/lock.h +++ b/contrib/sdk/sources/newlib/libc/include/sys/lock.h @@ -1,7 +1,7 @@ #ifndef __SYS_LOCK_H__ #define __SYS_LOCK_H__ -#define _LIBC 1 +//#define _LIBC 1 #define NOT_IN_libc 1 #ifndef __USE_GNU