diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-04-02 07:53:12 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-04-02 07:53:12 +0000 |
commit | 72c79be10e56764fe57300814537cd474f50e43d (patch) | |
tree | 089036e09da17c5963ddd49b4d21fa7697ba5302 /newlib/libc/include | |
parent | cd767078de5138e10c177506fc29a8721f7e7c3b (diff) | |
download | cygnal-72c79be10e56764fe57300814537cd474f50e43d.tar.gz cygnal-72c79be10e56764fe57300814537cd474f50e43d.tar.bz2 cygnal-72c79be10e56764fe57300814537cd474f50e43d.zip |
* libc/ctype/ctype_c.c: Move inclusion of ctype_iso.h and
ctype_cp.h out of ALLOW_NEGATIVE_CTYPE_INDEX case.
(__ctype_ptr__): Constify in !_MB_CAPABLE case. Otherwise,
de-constify in !ALLOW_NEGATIVE_CTYPE_INDEX case, too. Add comment.
(__set_ctype): Set __ctype_ptr__ pointer according to definition
of ALLOW_NEGATIVE_CTYPE_INDEX.
* libc/include/ctype.h (__ctype_ptr__): Constify in !_MB_CAPABLE case.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/ctype.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/include/ctype.h b/newlib/libc/include/ctype.h index b99115ae2..d223dd09a 100644 --- a/newlib/libc/include/ctype.h +++ b/newlib/libc/include/ctype.h @@ -39,6 +39,9 @@ int _EXFUN(toascii, (int __c)); #define _X 0100 #define _B 0200 +#ifndef _MB_CAPABLE +_CONST +#endif extern __IMPORT char *__ctype_ptr__; #ifndef __cplusplus |