From ecc81a520e5b0d75c9102fb5497c96738e141c0f Mon Sep 17 00:00:00 2001 From: tjr Date: Sat, 21 Sep 2002 08:55:16 +0000 Subject: Restrict visibility of wcslcat() and wcslcpy() to the __BSD_VISIBLE case. --- include/wchar.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/wchar.h') diff --git a/include/wchar.h b/include/wchar.h index 4877d3b..d13ba1f 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -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) -- cgit v1.1