From e04aaa3da60b161906ebd48b6788a98c7557b758 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 10 Oct 1996 04:14:40 +0000 Subject: [PATCH] . --- lib/safe-read.c | 4 ++-- lib/strtod.c | 24 ++++++++++++------------ lib/xstrtod.h | 10 +++++----- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/lib/safe-read.c b/lib/safe-read.c index 4375bf2743..115ddeffbe 100644 --- a/lib/safe-read.c +++ b/lib/safe-read.c @@ -16,13 +16,13 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifdef HAVE_CONFIG_H +#if HAVE_CONFIG_H # include #endif #include -#ifdef HAVE_UNISTD_H +#if HAVE_UNISTD_H # include #endif diff --git a/lib/strtod.c b/lib/strtod.c index e2ddaa6cd8..69c57a4df1 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 +#if HAVE_CONFIG_H +# include #endif #include @@ -26,21 +26,21 @@ extern int errno; #include #include -#ifdef HAVE_FLOAT_H -#include +#if HAVE_FLOAT_H +# include #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 -#include +# include +# include #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 diff --git a/lib/xstrtod.h b/lib/xstrtod.h index d40d5124ba..5b61c46df8 100644 --- a/lib/xstrtod.h +++ b/lib/xstrtod.h @@ -3,13 +3,13 @@ # ifndef __P # if defined (__GNUC__) || (defined (__STDC__) && __STDC__) -# define __P(args) args +# define __P(Args) Args # else -# define __P(args) () -# endif /* GCC. */ -# endif /* Not __P. */ +# define __P(Args) () +# endif +# endif int xstrtod __P ((const char *str, const char **ptr, double *result)); -#endif /* XSTRTOD_H */ +#endif /* not XSTRTOD_H */ -- 2.30.2