summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-09-21 08:55:16 +0000
committertjr <tjr@FreeBSD.org>2002-09-21 08:55:16 +0000
commitecc81a520e5b0d75c9102fb5497c96738e141c0f (patch)
tree65bb90041cbec2e2fecb9211ac42d96e6157bf9f /include
parentab5fdb04d4d825afa88c147285546c02bea85401 (diff)
downloadFreeBSD-src-ecc81a520e5b0d75c9102fb5497c96738e141c0f.zip
FreeBSD-src-ecc81a520e5b0d75c9102fb5497c96738e141c0f.tar.gz
Restrict visibility of wcslcat() and wcslcpy() to the __BSD_VISIBLE case.
Diffstat (limited to 'include')
-rw-r--r--include/wchar.h7
1 files changed, 5 insertions, 2 deletions
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)
OpenPOWER on IntegriCloud