]> sourceware.org Git - glibc.git/commitdiff
Update.
authorAndreas Jaeger <aj@suse.de>
Mon, 2 Apr 2001 11:26:16 +0000 (11:26 +0000)
committerAndreas Jaeger <aj@suse.de>
Mon, 2 Apr 2001 11:26:16 +0000 (11:26 +0000)
* 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.

ChangeLog
elf/rtld.c
sysdeps/ieee754/dbl-64/e_sqrt.c
sysdeps/ieee754/dbl-64/uroot.h

index a0e12588fd568bb9a48a839dcac9476473e11864..ddc52810665c0738eab53c7512250ef91d01de5d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2001-04-02  Andreas Jaeger  <aj@suse.de>
 
+       * 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.
+
        * string/string.h (strndupa): Add cast for C++ conformance.
        (strdupa): Likewise.
        Fixes PR libc/2173, reported by tbrowder@home.com. 
index 7634f514d2ad5f8481f995940bcd1018b54c373d..586291c629eac3907da503c32793b0e3f0c2430f 100644 (file)
@@ -1477,8 +1477,8 @@ process_envvars (enum mode *modep)
 static void
 print_statistics (void)
 {
-  char buf[200];
 #ifndef HP_TIMING_NONAVAIL
+  char buf[200];
   char *cp;
   char *wp;
 
index e7ed1c24bd9171527db891b1e1da3b6e2d1c513e..83df545576f0154d603829435df4004d336833e0 100644 (file)
@@ -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;
index 8d22b9e2424d81b2c25207c241c1afe0f26fa04d..1ef7054ec0420e45cfd0168913a6bdcc8fae7e2b 100644 (file)
 
 #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
 
This page took 0.050737 seconds and 5 git commands to generate.