aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_airy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_airy.cpp')
-rw-r--r--src/PJ_airy.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/PJ_airy.cpp b/src/PJ_airy.cpp
index 037362b3..fa159bae 100644
--- a/src/PJ_airy.cpp
+++ b/src/PJ_airy.cpp
@@ -34,13 +34,16 @@
PROJ_HEAD(airy, "Airy") "\n\tMisc Sph, no inv\n\tno_cut lat_b=";
+namespace { // anonymous namespace
enum Mode {
N_POLE = 0,
S_POLE = 1,
EQUIT = 2,
OBLIQ = 3
};
+} // anonymous namespace
+namespace { // anonymous namespace
struct pj_opaque {
double p_halfpi;
double sinph0;
@@ -49,6 +52,7 @@ struct pj_opaque {
enum Mode mode;
int no_cut; /* do not cut at hemisphere limit */
};
+} // anonymous namespace
# define EPS 1.e-10