Restrict visibility of wcslcat() and wcslcpy() to the __BSD_VISIBLE case.
This commit is contained in:
parent
668b05c376
commit
7ca9f09d6e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103737
@ -130,8 +130,6 @@ wchar_t *wcscpy(wchar_t * __restrict, const wchar_t * __restrict);
|
|||||||
size_t wcscspn(const wchar_t *, const wchar_t *);
|
size_t wcscspn(const wchar_t *, const wchar_t *);
|
||||||
size_t wcsftime(wchar_t * __restrict, size_t, const wchar_t * __restrict,
|
size_t wcsftime(wchar_t * __restrict, size_t, const wchar_t * __restrict,
|
||||||
const struct tm * __restrict);
|
const struct tm * __restrict);
|
||||||
size_t wcslcat(wchar_t *, const wchar_t *, size_t);
|
|
||||||
size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
|
|
||||||
size_t wcslen(const wchar_t *);
|
size_t wcslen(const wchar_t *);
|
||||||
wchar_t *wcsncat(wchar_t * __restrict, const wchar_t * __restrict,
|
wchar_t *wcsncat(wchar_t * __restrict, const wchar_t * __restrict,
|
||||||
size_t);
|
size_t);
|
||||||
@ -160,6 +158,11 @@ wchar_t *wmemset(wchar_t *, wchar_t, size_t);
|
|||||||
int wcswidth(const wchar_t *, size_t);
|
int wcswidth(const wchar_t *, size_t);
|
||||||
int wcwidth(wchar_t);
|
int wcwidth(wchar_t);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if __BSD_VISIBLE
|
||||||
|
size_t wcslcat(wchar_t *, const wchar_t *, size_t);
|
||||||
|
size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
|
||||||
|
#endif
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#define getwc(fp) fgetwc(fp)
|
#define getwc(fp) fgetwc(fp)
|
||||||
|
Loading…
Reference in New Issue
Block a user