From 526fe4975e789e3437646adbe86608616eac21fe Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Wed, 10 Oct 2018 21:11:05 +0200 Subject: Move struct definitions for proj_list_* functions to proj.h With projects.h not being available to outside users anymore we need to define PJ_UNITS, PJ_ELLPS, PJ_PRIME_MERIDIANS and PJ_OPERATIONS elsewhere. Related pj_get_*_ref() functions have been removed in favour of their proj_ namespaced counterparts. char pointers have been changed to const char pointers. Resolves #983 Resolved #1147 Make char pointers const --- src/proj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/proj.c') diff --git a/src/proj.c b/src/proj.c index 009ce9d6..e01175a5 100644 --- a/src/proj.c +++ b/src/proj.c @@ -369,7 +369,7 @@ int main(int argc, char **argv) { /* list projections */ const struct PJ_LIST *lp; int do_long = arg[1] == 'P', c; - char *str; + const char *str; for (lp = proj_list_operations() ; lp->id ; ++lp) { if( strcmp(lp->id,"latlong") == 0 -- cgit v1.2.3