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
3b80191f33
commit
14a1e7ce42
|
@ -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…
Reference in New Issue