mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-02 04:20:28 +08:00
Fix return type of __locale_ctype_ptr_l()
This prevents warnings like this: ctype.h:118:9: warning: return discards 'const' qualifier from pointer target type
This commit is contained in:
parent
b300092e4b
commit
32016ebf6f
@ -111,7 +111,7 @@ const char *__locale_ctype_ptr (void);
|
|||||||
#ifdef __HAVE_LOCALE_INFO__
|
#ifdef __HAVE_LOCALE_INFO__
|
||||||
const char *__locale_ctype_ptr_l (locale_t);
|
const char *__locale_ctype_ptr_l (locale_t);
|
||||||
#else
|
#else
|
||||||
static __inline char *
|
static __inline const char *
|
||||||
__locale_ctype_ptr_l(locale_t _l)
|
__locale_ctype_ptr_l(locale_t _l)
|
||||||
{
|
{
|
||||||
(void)_l;
|
(void)_l;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user