From 38f717fb6b9838fd30ef1388bc66cd14005309bd Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Wed, 29 Nov 2017 20:25:40 +0100 Subject: 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 --- src/proj_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3