From cd579d223cbea43821382e77fe7c957524bdc9d3 Mon Sep 17 00:00:00 2001 From: Kurt Schwehr Date: Mon, 30 Apr 2018 12:58:06 -0700 Subject: Move include of math.h inside include guard. No reason to include math.h more times. And balance whitespace a bit --- src/proj_math.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/proj_math.h b/src/proj_math.h index 0108a439..1bb0a94f 100644 --- a/src/proj_math.h +++ b/src/proj_math.h @@ -25,17 +25,17 @@ * DEALINGS IN THE SOFTWARE. *****************************************************************************/ -#include - #ifndef PROJ_MATH_H #define PROJ_MATH_H + +#include + #ifdef __cplusplus extern "C" { #endif #if !(defined(HAVE_C99_MATH) && HAVE_C99_MATH) - double pj_hypot(double x, double y); double pj_log1p(double x); double pj_asinh(double x); @@ -46,10 +46,10 @@ int pj_isnan(double x); #define asinh pj_asinh #define isnan pj_isnan - #endif /* !(defined(HAVE_C99_MATH) && HAVE_C99_MATH) */ #ifdef __cplusplus } #endif -#endif /*PROJ_MATH_H */ + +#endif /* PROJ_MATH_H */ -- cgit v1.2.3