about summary refs log tree commit diff
path: root/sysdeps/ieee754/dbl-64
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-04-02 11:26:16 +0000
committerAndreas Jaeger <aj@suse.de>2001-04-02 11:26:16 +0000
commitf457369d0137a855fbba76a25e7befac84d9843f (patch)
tree55dcfe6bc5e6f8f0833901e549746b06f1cb846e /sysdeps/ieee754/dbl-64
parent9bd77523563ddda0dab4d80d4898f02f33361c4e (diff)
downloadglibc-f457369d0137a855fbba76a25e7befac84d9843f.tar.gz
glibc-f457369d0137a855fbba76a25e7befac84d9843f.tar.xz
glibc-f457369d0137a855fbba76a25e7befac84d9843f.zip
Update.
	* sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
	initializers.
	* sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.

	* elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
	warning about unused variable.
Diffstat (limited to 'sysdeps/ieee754/dbl-64')
-rw-r--r--sysdeps/ieee754/dbl-64/e_sqrt.c2
-rw-r--r--sysdeps/ieee754/dbl-64/uroot.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/ieee754/dbl-64/e_sqrt.c b/sysdeps/ieee754/dbl-64/e_sqrt.c
index e7ed1c24bd..83df545576 100644
--- a/sysdeps/ieee754/dbl-64/e_sqrt.c
+++ b/sysdeps/ieee754/dbl-64/e_sqrt.c
@@ -52,7 +52,7 @@ double __ieee754_sqrt(double x) {
     rt3 = 3.12523626554518656309172508769531E-01;
   static const double big =  134217728.0, big1 =  134217729.0;
   double y,t,del,res,res1,hy,z,zz,p,hx,tx,ty,s;
-  mynumber a,b,c={0,0};
+  mynumber a,b,c={{0,0}};
   int4 n,k;
 
   a.x=x;
diff --git a/sysdeps/ieee754/dbl-64/uroot.h b/sysdeps/ieee754/dbl-64/uroot.h
index 8d22b9e242..1ef7054ec0 100644
--- a/sysdeps/ieee754/dbl-64/uroot.h
+++ b/sysdeps/ieee754/dbl-64/uroot.h
@@ -29,14 +29,14 @@
 
 #ifdef BIG_ENDI
  static const  mynumber
-/**/           t512 = {0x5ff00000, 0x00000000 },  /* 2^512  */
-/**/          tm256 = {0x2ff00000, 0x00000000 };  /* 2^-256 */
+/**/           t512 = {{0x5ff00000, 0x00000000 }},  /* 2^512  */
+/**/          tm256 = {{0x2ff00000, 0x00000000 }};  /* 2^-256 */
 
 #else
 #ifdef LITTLE_ENDI
  static const  mynumber
-/**/           t512 = {0x00000000, 0x5ff00000 }, /* 2^512  */
-/**/          tm256 = {0x00000000, 0x2ff00000 }; /* 2^-256 */
+/**/           t512 = {{0x00000000, 0x5ff00000 }}, /* 2^512  */
+/**/          tm256 = {{0x00000000, 0x2ff00000 }}; /* 2^-256 */
 #endif
 #endif