diff options
| author | Kurt Schwehr <schwehr@google.com> | 2018-04-30 12:58:06 -0700 |
|---|---|---|
| committer | Kurt Schwehr <schwehr@google.com> | 2018-04-30 12:58:06 -0700 |
| commit | cd579d223cbea43821382e77fe7c957524bdc9d3 (patch) | |
| tree | ed4e0df0bac77227d0cec59c5c7ec29eb438dda2 /src | |
| parent | 93db7b7b16f8904e23a7516079708ec82977fad3 (diff) | |
| download | PROJ-cd579d223cbea43821382e77fe7c957524bdc9d3.tar.gz PROJ-cd579d223cbea43821382e77fe7c957524bdc9d3.zip | |
Move include of math.h inside include guard.
No reason to include math.h more times.
And balance whitespace a bit
Diffstat (limited to 'src')
| -rw-r--r-- | src/proj_math.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 <math.h> - #ifndef PROJ_MATH_H #define PROJ_MATH_H + +#include <math.h> + #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 */ |
