diff --git a/n_atof.c b/n_atof.c index 4809d8c4..15907578 100644 --- a/n_atof.c +++ b/n_atof.c @@ -68,21 +68,22 @@ */ JNUMBER -JAtoN(string, endPtr) -const char *string; /* A decimal ASCII floating-point number, - * optionally preceded by white space. - * Must have form "-I.FE-X", where I is the - * integer part of the mantissa, F is the - * fractional part of the mantissa, and X - * is the exponent. Either of the signs - * may be "+", "-", or omitted. Either I - * or F may be omitted, or both. The decimal - * point isn't necessary unless F is present. - * The "E" may actually be an "e". E and X - * may both be omitted (but not just one). - */ -char **endPtr; /* If non-NULL, store terminating character's - * address here. */ +JAtoN( + const char *string, /* A decimal ASCII floating-point number, + * optionally preceded by white space. + * Must have form "-I.FE-X", where I is the + * integer part of the mantissa, F is the + * fractional part of the mantissa, and X + * is the exponent. Either of the signs + * may be "+", "-", or omitted. Either I + * or F may be omitted, or both. The decimal + * point isn't necessary unless F is present. + * The "E" may actually be an "e". E and X + * may both be omitted (but not just one). + */ + char **endPtr /* If non-NULL, store terminating character's + * address here. */ +) { int sign, expSign = FALSE; JNUMBER fraction;