aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_unitconvert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_unitconvert.c')
-rw-r--r--src/PJ_unitconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_unitconvert.c b/src/PJ_unitconvert.c
index fc90821b..106caabf 100644
--- a/src/PJ_unitconvert.c
+++ b/src/PJ_unitconvert.c
@@ -256,7 +256,7 @@ static double mjd_to_yyyymmdd(double mjd) {
}
-struct TIME_UNITS time_units[] = {
+static const struct TIME_UNITS time_units[] = {
{"mjd", mjd_to_mjd, mjd_to_mjd, "Modified julian date"},
{"decimalyear", decimalyear_to_mjd, mjd_to_decimalyear, "Decimal year"},
{"gps_week", gps_week_to_mjd, mjd_to_gps_week, "GPS Week"},