diff options
| author | Even Rouault <even.rouault@mines-paris.org> | 2017-12-18 13:42:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-18 13:42:38 +0100 |
| commit | 5bd4aef074ed3d9041e252be53fd2810ec40a02f (patch) | |
| tree | 945f42cf3d587a7ed29b6ac7fea7b62260516514 /src/proj_4D_api.c | |
| parent | e073e13b4d7c830d1e7144c22a1ab1c225f47a39 (diff) | |
| parent | a07501a165e6f2521c9aa13fa63fab33cf67d876 (diff) | |
| download | PROJ-5bd4aef074ed3d9041e252be53fd2810ec40a02f.tar.gz PROJ-5bd4aef074ed3d9041e252be53fd2810ec40a02f.zip | |
Merge pull request #674 from aaronpuchert/const-globals
Declare non-local variables as const where possible
Diffstat (limited to 'src/proj_4D_api.c')
| -rw-r--r-- | src/proj_4D_api.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/proj_4D_api.c b/src/proj_4D_api.c index 0fba5097..a0550727 100644 --- a/src/proj_4D_api.c +++ b/src/proj_4D_api.c @@ -597,7 +597,7 @@ PJ_INFO proj_info(void) { ******************************************************************************/ PJ_INFO info; - const char **paths; + const char * const *paths; char *tmpstr; int i, n; size_t len = 0; @@ -847,20 +847,3 @@ PJ_FACTORS proj_factors(PJ *P, LP lp) { return factors; } - -const PJ_ELLPS *proj_list_ellps(void) { - return pj_get_ellps_ref(); -} - -const PJ_UNITS *proj_list_units(void) { - return pj_get_units_ref(); -} - -const PJ_OPERATIONS *proj_list_operations(void) { - return pj_get_list_ref(); -} - -const PJ_PRIME_MERIDIANS *proj_list_prime_meridians(void) { - return pj_get_prime_meridians_ref(); -} - |
