aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_lagrng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_lagrng.cpp')
-rw-r--r--src/PJ_lagrng.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PJ_lagrng.cpp b/src/PJ_lagrng.cpp
index f5363287..30306db4 100644
--- a/src/PJ_lagrng.cpp
+++ b/src/PJ_lagrng.cpp
@@ -9,6 +9,7 @@ PROJ_HEAD(lagrng, "Lagrange") "\n\tMisc Sph\n\tW=";
#define TOL 1e-10
+namespace { // anonymous namespace
struct pj_opaque {
double a1;
double a2;
@@ -17,6 +18,7 @@ struct pj_opaque {
double rw;
double w;
};
+} // anonymous namespace
static XY s_forward (LP lp, PJ *P) { /* Spheroidal, forward */