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/cs2cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cs2cs.c') diff --git a/src/cs2cs.c b/src/cs2cs.c index 518d4e71..d9e37528 100644 --- a/src/cs2cs.c +++ b/src/cs2cs.c @@ -211,7 +211,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) { (void)printf("%s : ", lp->id); -- cgit v1.2.3