* 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.
This commit is contained in:
Andreas Jaeger 2001-04-02 11:26:16 +00:00
parent 9bd7752356
commit f457369d01
4 changed files with 13 additions and 6 deletions

View File

@ -1,5 +1,12 @@
2001-04-02 Andreas Jaeger <aj@suse.de> 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. * string/string.h (strndupa): Add cast for C++ conformance.
(strdupa): Likewise. (strdupa): Likewise.
Fixes PR libc/2173, reported by tbrowder@home.com. Fixes PR libc/2173, reported by tbrowder@home.com.

View File

@ -1477,8 +1477,8 @@ process_envvars (enum mode *modep)
static void static void
print_statistics (void) print_statistics (void)
{ {
char buf[200];
#ifndef HP_TIMING_NONAVAIL #ifndef HP_TIMING_NONAVAIL
char buf[200];
char *cp; char *cp;
char *wp; char *wp;

View File

@ -52,7 +52,7 @@ double __ieee754_sqrt(double x) {
rt3 = 3.12523626554518656309172508769531E-01; rt3 = 3.12523626554518656309172508769531E-01;
static const double big = 134217728.0, big1 = 134217729.0; static const double big = 134217728.0, big1 = 134217729.0;
double y,t,del,res,res1,hy,z,zz,p,hx,tx,ty,s; 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; int4 n,k;
a.x=x; a.x=x;

View File

@ -29,14 +29,14 @@
#ifdef BIG_ENDI #ifdef BIG_ENDI
static const mynumber static const mynumber
/**/ t512 = {0x5ff00000, 0x00000000 }, /* 2^512 */ /**/ t512 = {{0x5ff00000, 0x00000000 }}, /* 2^512 */
/**/ tm256 = {0x2ff00000, 0x00000000 }; /* 2^-256 */ /**/ tm256 = {{0x2ff00000, 0x00000000 }}; /* 2^-256 */
#else #else
#ifdef LITTLE_ENDI #ifdef LITTLE_ENDI
static const mynumber static const mynumber
/**/ t512 = {0x00000000, 0x5ff00000 }, /* 2^512 */ /**/ t512 = {{0x00000000, 0x5ff00000 }}, /* 2^512 */
/**/ tm256 = {0x00000000, 0x2ff00000 }; /* 2^-256 */ /**/ tm256 = {{0x00000000, 0x2ff00000 }}; /* 2^-256 */
#endif #endif
#endif #endif