aboutsummaryrefslogtreecommitdiff
path: root/src/projections/denoy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projections/denoy.cpp')
-rw-r--r--src/projections/denoy.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/projections/denoy.cpp b/src/projections/denoy.cpp
index 5c337c45..d10d8881 100644
--- a/src/projections/denoy.cpp
+++ b/src/projections/denoy.cpp
@@ -1,6 +1,7 @@
#define PJ_LIB__
#include <math.h>
+#include "proj.h"
#include "projects.h"
PROJ_HEAD(denoy, "Denoyer Semi-Elliptical") "\n\tPCyl, no inv, Sph";
@@ -12,8 +13,8 @@ PROJ_HEAD(denoy, "Denoyer Semi-Elliptical") "\n\tPCyl, no inv, Sph";
#define D5 0.03
-static XY s_forward (LP lp, PJ *P) { /* Spheroidal, forward */
- XY xy = {0.0, 0.0};
+static PJ_XY s_forward (PJ_LP lp, PJ *P) { /* Spheroidal, forward */
+ PJ_XY xy = {0.0, 0.0};
(void) P;
xy.y = lp.phi;
xy.x = lp.lam;