mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
cheri: wctype: turn wctype_t into a pointer
Make wctype_t a pointer so dereferencing it works. wctrans_t is already a pointer and used the same way. Existing targets are not affected, only capability targets where this is necessary.
This commit is contained in:
parent
5778537ccd
commit
f7842f9392
@ -35,7 +35,11 @@
|
||||
|
||||
/* Scalar type that can hold values which represent locale-specific
|
||||
character classifications. */
|
||||
#ifdef __CHERI_PURE_CAPABILITY__
|
||||
typedef const char *wctype_t;
|
||||
#else
|
||||
typedef unsigned long int wctype_t;
|
||||
#endif
|
||||
|
||||
# ifndef _ISwbit
|
||||
/* The characteristics are stored always in network byte order (big
|
||||
|
Loading…
Reference in New Issue
Block a user