Restrict visibility of wcwidth() and wcswidth(); they are XSI extensions.
This commit is contained in:
parent
a9c61b3dfc
commit
71f9b42067
@ -145,14 +145,17 @@ size_t wcsrtombs(char * __restrict, const wchar_t ** __restrict, size_t,
|
||||
mbstate_t * __restrict);
|
||||
size_t wcsspn(const wchar_t *, const wchar_t *);
|
||||
wchar_t *wcsstr(const wchar_t *, const wchar_t *);
|
||||
int wcswidth(const wchar_t *, size_t);
|
||||
int wctob(wint_t);
|
||||
int wcwidth(wchar_t);
|
||||
wchar_t *wmemchr(const wchar_t *, wchar_t, size_t);
|
||||
int wmemcmp(const wchar_t *, const wchar_t *, size_t);
|
||||
wchar_t *wmemcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
|
||||
wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t);
|
||||
wchar_t *wmemset(wchar_t *, wchar_t, size_t);
|
||||
|
||||
#if __XSI_VISIBLE
|
||||
int wcswidth(const wchar_t *, size_t);
|
||||
int wcwidth(wchar_t);
|
||||
#endif
|
||||
__END_DECLS
|
||||
|
||||
#define getwc(fp) fgetwc(fp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user