aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_wink2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_wink2.cpp')
-rw-r--r--src/PJ_wink2.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/PJ_wink2.cpp b/src/PJ_wink2.cpp
index 9da65eaa..3935372a 100644
--- a/src/PJ_wink2.cpp
+++ b/src/PJ_wink2.cpp
@@ -7,7 +7,11 @@
PROJ_HEAD(wink2, "Winkel II") "\n\tPCyl, Sph, no inv\n\tlat_1=";
-struct pj_opaque { double cosphi1; };
+namespace { // anonymous namespace
+struct pj_opaque {
+ double cosphi1;
+};
+} // anonymous namespace
#define MAX_ITER 10
#define LOOP_TOL 1e-7