mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Restrict visibility of wcslcat() and wcslcpy() to the __BSD_VISIBLE case.
This commit is contained in:
parent
668b05c376
commit
7ca9f09d6e
1 changed files with 5 additions and 2 deletions
|
|
@ -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 wcsftime(wchar_t * __restrict, size_t, const wchar_t * __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 *);
|
||||
wchar_t *wcsncat(wchar_t * __restrict, const wchar_t * __restrict,
|
||||
size_t);
|
||||
|
|
@ -160,6 +158,11 @@ wchar_t *wmemset(wchar_t *, wchar_t, size_t);
|
|||
int wcswidth(const wchar_t *, size_t);
|
||||
int wcwidth(wchar_t);
|
||||
#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
|
||||
|
||||
#define getwc(fp) fgetwc(fp)
|
||||
|
|
|
|||
Loading…
Reference in a new issue