about summary refs log tree commit diff
path: root/wcsmbs
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-04-01 18:36:07 -0400
committerUlrich Drepper <drepper@gmail.com>2011-04-01 18:36:07 -0400
commit8593482f5ec33daa90fca63db380edc8283c39df (patch)
treee25f91d2545768b583d1ebe0169db78ffef96aba /wcsmbs
parent81a5726bd231f21a3621007bde58eac9a0f82885 (diff)
downloadglibc-8593482f5ec33daa90fca63db380edc8283c39df.tar.gz
glibc-8593482f5ec33daa90fca63db380edc8283c39df.tar.xz
glibc-8593482f5ec33daa90fca63db380edc8283c39df.zip
Fix visibility of declarations of wcpcpy and wcpncpy.
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/wchar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h
index 886131b4a4..80d7ae2b5c 100644
--- a/wcsmbs/wchar.h
+++ b/wcsmbs/wchar.h
@@ -554,8 +554,10 @@ extern float wcstof_l (__const wchar_t *__restrict __nptr,
 extern long double wcstold_l (__const wchar_t *__restrict __nptr,
 			      wchar_t **__restrict __endptr,
 			      __locale_t __loc) __THROW;
+#endif	/* use GNU */
 
 
+#ifdef __USE_XOPEN2K8
 /* Copy SRC to DEST, returning the address of the terminating L'\0' in
    DEST.  */
 extern wchar_t *wcpcpy (wchar_t *__restrict __dest,
@@ -566,12 +568,10 @@ extern wchar_t *wcpcpy (wchar_t *__restrict __dest,
 extern wchar_t *wcpncpy (wchar_t *__restrict __dest,
 			 __const wchar_t *__restrict __src, size_t __n)
      __THROW;
-#endif	/* use GNU */
 
 
 /* Wide character I/O functions.  */
 
-#ifdef	__USE_XOPEN2K8
 /* Like OPEN_MEMSTREAM, but the stream is wide oriented and produces
    a wide character string.  */
 extern __FILE *open_wmemstream (wchar_t **__bufloc, size_t *__sizeloc) __THROW;