aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2016-05-04 23:35:12 +0200
committerKristian Evers <kristianevers@gmail.com>2016-05-04 23:35:12 +0200
commit6cbf7e5f6c51b3b88e0d604124d688f79512496b (patch)
tree2872dd2196c763ab8953d6d66937781a15842d88 /src
parentefa91386d8b0a2270d3396a6cf1f2098487feb3d (diff)
downloadPROJ-6cbf7e5f6c51b3b88e0d604124d688f79512496b.tar.gz
PROJ-6cbf7e5f6c51b3b88e0d604124d688f79512496b.zip
Expanded SPECIAL macro
Diffstat (limited to 'src')
-rw-r--r--src/PJ_eqdc.c4
-rw-r--r--src/PJ_lcc.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/PJ_eqdc.c b/src/PJ_eqdc.c
index 08981249..a7308335 100644
--- a/src/PJ_eqdc.c
+++ b/src/PJ_eqdc.c
@@ -52,7 +52,7 @@ static LP e_inverse (XY xy, PJ *P) { /* Ellipsoidal, inverse */
}
-SPECIAL(fac) {
+static void special(LP lp, PJ *P, struct FACTORS *fac) {
struct pj_opaque *Q = P->opaque;
double sinphi, cosphi;
@@ -124,7 +124,7 @@ PJ *PROJECTION(eqdc) {
}
P->inv = e_inverse;
P->fwd = e_forward;
- P->spc = fac;
+ P->spc = special;
return P;
}
diff --git a/src/PJ_lcc.c b/src/PJ_lcc.c
index 3a5d3485..28275089 100644
--- a/src/PJ_lcc.c
+++ b/src/PJ_lcc.c
@@ -65,7 +65,7 @@ static LP e_inverse (XY xy, PJ *P) { /* Ellipsoidal, inverse */
return lp;
}
-SPECIAL(fac) {
+static void special(LP lp, PJ *P, struct FACTORS *fac) {
struct pj_opaque *Q = P->opaque;
double rho;
if (fabs(fabs(lp.phi) - HALFPI) < EPS10) {
@@ -144,7 +144,7 @@ PJ *PROJECTION(lcc) {
P->inv = e_inverse;
P->fwd = e_forward;
- P->spc = fac;
+ P->spc = special;
return P;
}