aboutsummaryrefslogtreecommitdiffstats
path: root/missing/strtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/strtod.c')
-rw-r--r--missing/strtod.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/missing/strtod.c b/missing/strtod.c
index 79350a1e..38c7ce50 100644
--- a/missing/strtod.c
+++ b/missing/strtod.c
@@ -21,13 +21,16 @@
* This bought us a 10% speedup on a sample program at uunet.uu.net.
*/
+#if 0
#include <ctype.h>
+#endif
extern double atof();
double
strtod (s, ptr)
-register char *s, **ptr;
+register const char *s;
+register char **ptr;
{
double ret = 0.0;
char *start = s;