2002-02-05 Manik Raina <manik@cisco.com>
* libc/misc/dprintf (parse_number): #if 0 unused function. * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables s, p, k, and outstr. * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
This commit is contained in:
parent
1c4bd58770
commit
27478365a2
|
@ -1,3 +1,10 @@
|
||||||
|
2002-02-05 Manik Raina <manik@cisco.com>
|
||||||
|
|
||||||
|
* libc/misc/dprintf (parse_number): #if 0 unused function.
|
||||||
|
* libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
|
||||||
|
s, p, k, and outstr.
|
||||||
|
* libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
|
||||||
|
|
||||||
2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
|
2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/include/sys/reent.h [(!_REENT_SMALL]: Add
|
* libc/include/sys/reent.h [(!_REENT_SMALL]: Add
|
||||||
|
|
|
@ -15,7 +15,10 @@
|
||||||
#include "varargs.h"
|
#include "varargs.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
static char *parse_number ();
|
static char *parse_number ();
|
||||||
|
#endif
|
||||||
|
|
||||||
static long get_number ();
|
static long get_number ();
|
||||||
static void print_number ();
|
static void print_number ();
|
||||||
static void write_char ();
|
static void write_char ();
|
||||||
|
@ -147,6 +150,7 @@ __dprintf (fmt, va_alist)
|
||||||
va_end (args);
|
va_end (args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
/* Parse a positive decimal integer at S.
|
/* Parse a positive decimal integer at S.
|
||||||
FIXME: Was used in earlier version, but not currently used.
|
FIXME: Was used in earlier version, but not currently used.
|
||||||
Keep for now. */
|
Keep for now. */
|
||||||
|
@ -167,6 +171,7 @@ parse_number (s, p)
|
||||||
*p = x;
|
*p = x;
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Fetch the number at S of SIZE bytes. */
|
/* Fetch the number at S of SIZE bytes. */
|
||||||
|
|
||||||
|
|
|
@ -229,7 +229,7 @@ _DEFUN (_dtoa_r,
|
||||||
int denorm;
|
int denorm;
|
||||||
__ULong x;
|
__ULong x;
|
||||||
#endif
|
#endif
|
||||||
_Bigint *b, *b1, *delta, *mlo, *mhi, *S;
|
_Bigint *b, *b1, *delta, *mlo = NULL, *mhi, *S;
|
||||||
double ds;
|
double ds;
|
||||||
char *s, *s0;
|
char *s, *s0;
|
||||||
|
|
||||||
|
|
|
@ -2838,11 +2838,8 @@ int
|
||||||
_ldcheck (long double *d)
|
_ldcheck (long double *d)
|
||||||
{
|
{
|
||||||
unsigned short e[NI];
|
unsigned short e[NI];
|
||||||
char *s, *p;
|
|
||||||
int k;
|
|
||||||
LDPARMS rnd;
|
LDPARMS rnd;
|
||||||
LDPARMS *ldp = &rnd;
|
LDPARMS *ldp = &rnd;
|
||||||
char *outstr;
|
|
||||||
|
|
||||||
rnd.rlast = -1;
|
rnd.rlast = -1;
|
||||||
rnd.rndprc = NBITS;
|
rnd.rndprc = NBITS;
|
||||||
|
|
Loading…
Reference in New Issue