about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOndrej Bilka <neleai@seznam.cz>2013-03-20 08:08:27 +0100
committerOndrej Bilka <neleai@seznam.cz>2013-03-20 08:08:27 +0100
commita065ceffdf88637394eaaa1257c8aac2c1a3ffd4 (patch)
treec159eeaf377f0a11f17c58e3d2bc663199a223a2
parenta600e5cef53e10147932d910cdb2fdfc62afae4e (diff)
downloadglibc-a065ceffdf88637394eaaa1257c8aac2c1a3ffd4.tar.gz
glibc-a065ceffdf88637394eaaa1257c8aac2c1a3ffd4.tar.xz
glibc-a065ceffdf88637394eaaa1257c8aac2c1a3ffd4.zip
Do not warn about mblen, mbtowc and wctomb unused result.
-rw-r--r--ChangeLog5
-rw-r--r--stdlib/stdlib.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7d957d5a81..66e6638616 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
+
+	[BZ 14176]
+	* stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
+
 2013-03-19  Roland McGrath  <roland@hack.frob.com>
 
 	* sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index f7a818aa65..4b839441c3 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -861,14 +861,14 @@ extern int qfcvt_r (long double __value, int __ndigit,
 __BEGIN_NAMESPACE_STD
 /* Return the length of the multibyte character
    in S, which is no longer than N.  */
-extern int mblen (const char *__s, size_t __n) __THROW __wur;
+extern int mblen (const char *__s, size_t __n) __THROW;
 /* Return the length of the given multibyte character,
    putting its `wchar_t' representation in *PWC.  */
 extern int mbtowc (wchar_t *__restrict __pwc,
-		   const char *__restrict __s, size_t __n) __THROW __wur;
+		   const char *__restrict __s, size_t __n) __THROW;
 /* Put the multibyte character represented
    by WCHAR in S, returning its length.  */
-extern int wctomb (char *__s, wchar_t __wchar) __THROW __wur;
+extern int wctomb (char *__s, wchar_t __wchar) __THROW;
 
 
 /* Convert a multibyte string to a wide char string.  */