+2010-12-08 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/46772
+ * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
+ * gdtoa/gdtoaimp.h: Don't declare strtod.
+
2010-12-08 Tobias Burnus <burnus@net-b.de>
PR fortran/46520
#include "arith.h"
#include <stddef.h> /* for size_t */
+#include <stdlib.h> /* for strtod */
#ifndef Long
#define Long long
extern char* gdtoa ANSI((FPI *fpi, int be, ULong *bits, int *kindp,
int mode, int ndigits, int *decpt, char **rve));
extern void freedtoa ANSI((char*));
-extern float strtof ANSI((CONST char *, char **));
-extern double strtod ANSI((CONST char *, char **));
extern int strtodg ANSI((CONST char*, char**, FPI*, Long*, ULong*));
extern char* g_ddfmt ANSI((char*, double*, int, size_t));
extern Bigint *set_ones ANSI((Bigint*, int));
extern char *strcp ANSI((char*, const char*));
extern int strtoIg ANSI((CONST char*, char**, FPI*, Long*, Bigint**, int*));
- extern double strtod ANSI((const char *s00, char **se));
extern Bigint *sum ANSI((Bigint*, Bigint*));
extern int trailz ANSI((Bigint*));
extern double ulp ANSI((U*));