diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-08-25 17:05:12 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-08-25 17:05:18 +0300 |
commit | b690df6bbdbf3cd2e92601e078f8aac535016678 (patch) | |
tree | ae0e091ff7c966decbd8b30ea72d33f98f2911bf /newlib | |
parent | e97109184ab0a2de680a90a432d94f86e5be7b0f (diff) |
Drop duplicate _ctype_ declaration from ctype_.h
It's already defined in ctype.h.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/ctype/ctype_.h | 2 | ||||
-rw-r--r-- | newlib/libc/locale/setlocale.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/ctype/ctype_.h b/newlib/libc/ctype/ctype_.h index 3b59a27d5..10a4b42ff 100644 --- a/newlib/libc/ctype/ctype_.h +++ b/newlib/libc/ctype/ctype_.h @@ -11,7 +11,7 @@ #else /* !ALLOW_NEGATIVE_CTYPE_INDEX */ - extern char _ctype_[]; + /* _ctype_ is declared in <ctype.h>. */ # define DEFAULT_CTYPE_PTR ((char *) _ctype_) #endif /* !ALLOW_NEGATIVE_CTYPE_INDEX */ diff --git a/newlib/libc/locale/setlocale.h b/newlib/libc/locale/setlocale.h index daf932308..0931fe5d2 100644 --- a/newlib/libc/locale/setlocale.h +++ b/newlib/libc/locale/setlocale.h @@ -183,7 +183,7 @@ struct __locale_t int (*mbtowc) (struct _reent *, wchar_t *, const char *, size_t, mbstate_t *); int cjk_lang; - char *ctype_ptr; /* Unused in __global_locale */ + char *ctype_ptr; struct lconv lconv; #ifndef __HAVE_LOCALE_INFO__ char mb_cur_max[2]; |