aboutsummaryrefslogtreecommitdiff
path: root/src/conversions/geocent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversions/geocent.cpp')
-rw-r--r--src/conversions/geocent.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/conversions/geocent.cpp b/src/conversions/geocent.cpp
index 0e9d725e..d5f3e075 100644
--- a/src/conversions/geocent.cpp
+++ b/src/conversions/geocent.cpp
@@ -28,20 +28,22 @@
*****************************************************************************/
#define PJ_LIB__
+
+#include "proj.h"
#include "projects.h"
PROJ_HEAD(geocent, "Geocentric") "\n\t";
-static XY forward(LP lp, PJ *P) {
- XY xy = {0.0,0.0};
+static PJ_XY forward(PJ_LP lp, PJ *P) {
+ PJ_XY xy = {0.0,0.0};
(void) P;
xy.x = lp.lam;
xy.y = lp.phi;
return xy;
}
-static LP inverse(XY xy, PJ *P) {
- LP lp = {0.0,0.0};
+static PJ_LP inverse(PJ_XY xy, PJ *P) {
+ PJ_LP lp = {0.0,0.0};
(void) P;
lp.phi = xy.y;
lp.lam = xy.x;