aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKurt Schwehr <schwehr@google.com>2018-04-30 12:58:06 -0700
committerKurt Schwehr <schwehr@google.com>2018-04-30 12:58:06 -0700
commitcd579d223cbea43821382e77fe7c957524bdc9d3 (patch)
treeed4e0df0bac77227d0cec59c5c7ec29eb438dda2 /src
parent93db7b7b16f8904e23a7516079708ec82977fad3 (diff)
downloadPROJ-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.h10
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 */