summaryrefslogtreecommitdiff
path: root/lib/strtod.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-10-10 04:18:05 +0000
committerJim Meyering <jim@meyering.net>1996-10-10 04:18:05 +0000
commit3d35ef8670fd14e05134e75daa58c2773bbd754f (patch)
tree897e2eb89d1c031d6ec0753b25172c6c8c6d03de /lib/strtod.c
parent5921df05c5a9853bf352b25d8d612fef135336f3 (diff)
downloadcoreutils-3d35ef8670fd14e05134e75daa58c2773bbd754f.tar.xz
.
Diffstat (limited to 'lib/strtod.c')
-rw-r--r--lib/strtod.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/strtod.c b/lib/strtod.c
index e2ddaa6cd..69c57a4df 100644
--- a/lib/strtod.c
+++ b/lib/strtod.c
@@ -14,8 +14,8 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
+#if HAVE_CONFIG_H
+# include <config.h>
#endif
#include <errno.h>
@@ -26,21 +26,21 @@ extern int errno;
#include <ctype.h>
#include <math.h>
-#ifdef HAVE_FLOAT_H
-#include <float.h>
+#if HAVE_FLOAT_H
+# include <float.h>
#else
-#define DBL_MAX 1.7976931348623159e+308
-#define DBL_MIN 2.2250738585072010e-308
+# define DBL_MAX 1.7976931348623159e+308
+# define DBL_MIN 2.2250738585072010e-308
#endif
#if STDC_HEADERS
-#include <stdlib.h>
-#include <string.h>
+# include <stdlib.h>
+# include <string.h>
#else
-#define NULL 0
-#ifndef HUGE_VAL
-#define HUGE_VAL HUGE
-#endif
+# define NULL 0
+# ifndef HUGE_VAL
+# define HUGE_VAL HUGE
+# endif
#endif
/* Convert NPTR to a double. If ENDPTR is not NULL, a pointer to the