]> sourceware.org Git - glibc.git/commitdiff
Fix float128 uses of xlocale.h.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 22 Jun 2017 22:34:49 +0000 (22:34 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 22 Jun 2017 22:34:49 +0000 (22:34 +0000)
Three float128 files still include xlocale.h after it was removed.  I
don't know why this didn't cause problems for powerpc64le float128
testing; it did cause problems for my x86_64 float128 testing.  This
patch changes the includes to use bits/types/locale_t.h.

Tested for x86_64 (in conjunction with float128 patches).

* sysdeps/ieee754/float128/strtof128_l.c: Include
<bits/types/locale_t.h> instead of <xlocale.h>.
* sysdeps/ieee754/float128/wcstof128.c: Likewise.
* sysdeps/ieee754/float128/wcstof128_l.c: Likewise.

ChangeLog
sysdeps/ieee754/float128/strtof128_l.c
sysdeps/ieee754/float128/wcstof128.c
sysdeps/ieee754/float128/wcstof128_l.c

index 3c86b4a40336652b76cf920ed960fdb5a9e043f1..af62c056e49e865f92fa78f5a48c4d5b1e613335 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-06-22  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/ieee754/float128/strtof128_l.c: Include
+       <bits/types/locale_t.h> instead of <xlocale.h>.
+       * sysdeps/ieee754/float128/wcstof128.c: Likewise.
+       * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
+
 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
 
        * benchtests/scripts/benchout_strings.schema.json: New file.
index d3d55ea9fa6ce4dae7c3016c5ee7808af1077c40..a541d60ef34f0c793c665d7a4775aef2be455d12 100644 (file)
@@ -16,7 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#include <xlocale.h>
+#include <bits/types/locale_t.h>
 
 /* Bring in potential typedef for _Float128 early for declaration below.  */
 #include <bits/floatn.h>
index 1d6326d9104b9c3e63b9b6a836df91df25186fe6..49aa4d61aca7f6af946e90ca92cd4c4f18f58a32 100644 (file)
@@ -17,7 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <stddef.h>
-#include <xlocale.h>
+#include <bits/types/locale_t.h>
 
 #define        USE_WIDE_CHAR   1
 
index 2df71848ec16cf4708a080c1d9bacb71b3aba762..b295087efe9fdb4fa29f966c88a58522eea66761 100644 (file)
@@ -17,7 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <stddef.h>
-#include <xlocale.h>
+#include <bits/types/locale_t.h>
 
 
 #define        USE_WIDE_CHAR   1
This page took 0.143993 seconds and 5 git commands to generate.