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:
Sebastian Huber 2020-11-16 14:38:22 +01:00
parent 3b80191f33
commit 14a1e7ce42
1 changed files with 1 additions and 1 deletions

View File

@ -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;