aboutsummaryrefslogtreecommitdiff
path: root/src/proj_api.h
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2017-11-29 20:25:40 +0100
committerGitHub <noreply@github.com>2017-11-29 20:25:40 +0100
commit38f717fb6b9838fd30ef1388bc66cd14005309bd (patch)
tree3f6bf63e72051237cfda042ad98c2cb08f952db1 /src/proj_api.h
parentb693f2cf7cc745d77242b6132eeb35ea8fd6a843 (diff)
downloadPROJ-38f717fb6b9838fd30ef1388bc66cd14005309bd.tar.gz
PROJ-38f717fb6b9838fd30ef1388bc66cd14005309bd.zip
Fix bad typedef that surfaces when including proj.h and proj_api.h in the same file (#687)
Fix bad typedef that surfaces when including proj.h and proj_api.h in the same file
Diffstat (limited to 'src/proj_api.h')
-rw-r--r--src/proj_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proj_api.h b/src/proj_api.h
index f5ced282..597a2589 100644
--- a/src/proj_api.h
+++ b/src/proj_api.h
@@ -83,7 +83,7 @@ extern int pj_errno; /* global error return code */
#ifdef PROJ_API_H_NOT_INVOKED_AS_PRIMARY_API
/* These make the function declarations below conform with classic proj */
typedef PJ *projPJ; /* projPJ is a pointer to PJ */
- typedef projCtx_t *projCtx; /* projCtx is a pointer to projCtx_t */
+ typedef struct projCtx_t *projCtx; /* projCtx is a pointer to projCtx_t */
# define projXY XY
# define projLP LP
# define projXYZ XYZ