From: Paul Ramsey Date: Tue, 7 Jul 2015 18:59:16 +0000 (+0000) Subject: Formatting X-Git-Tag: 2.2.0rc1~260 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=753b9f5d89c6e959833100ad7f89d4084489edbc;p=postgis Formatting git-svn-id: http://svn.osgeo.org/postgis/trunk@13786 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/lwin_geojson.c b/liblwgeom/lwin_geojson.c index 9e6169473..e645c23e0 100644 --- a/liblwgeom/lwin_geojson.c +++ b/liblwgeom/lwin_geojson.c @@ -39,7 +39,7 @@ static void geojson_lwerror(char *msg, int error_code) } /* Prototype */ -static LWGEOM* parse_geojson(json_object *geojson, int *hasz, int root_srid); +static LWGEOM* parse_geojson(json_object *geojson, int *hasz, int root_srid); static json_object* findMemberByName(json_object* poObj, const char* pszName ) @@ -143,7 +143,7 @@ parse_geojson_coord(json_object *poObj, int *hasz, POINTARRAY *pa) } static LWGEOM* -parse_geojson_point(json_object *geojson, int *hasz, int root_srid) +parse_geojson_point(json_object *geojson, int *hasz, int root_srid) { LWGEOM *geom; POINTARRAY *pa; @@ -167,7 +167,7 @@ parse_geojson_point(json_object *geojson, int *hasz, int root_srid) } static LWGEOM* -parse_geojson_linestring(json_object *geojson, int *hasz, int root_srid) +parse_geojson_linestring(json_object *geojson, int *hasz, int root_srid) { LWGEOM *geom; POINTARRAY *pa; @@ -203,7 +203,7 @@ parse_geojson_linestring(json_object *geojson, int *hasz, int root_srid) } static LWGEOM* -parse_geojson_polygon(json_object *geojson, int *hasz, int root_srid) +parse_geojson_polygon(json_object *geojson, int *hasz, int root_srid) { POINTARRAY **ppa = NULL; json_object* rings = NULL; @@ -265,7 +265,7 @@ parse_geojson_polygon(json_object *geojson, int *hasz, int root_srid) } static LWGEOM* -parse_geojson_multipoint(json_object *geojson, int *hasz, int root_srid) +parse_geojson_multipoint(json_object *geojson, int *hasz, int root_srid) { LWGEOM *geom; int i = 0; @@ -308,7 +308,7 @@ parse_geojson_multipoint(json_object *geojson, int *hasz, int root_srid) } static LWGEOM* -parse_geojson_multilinestring(json_object *geojson, int *hasz, int root_srid) +parse_geojson_multilinestring(json_object *geojson, int *hasz, int root_srid) { LWGEOM *geom = NULL; int i, j; @@ -360,7 +360,7 @@ parse_geojson_multilinestring(json_object *geojson, int *hasz, int root_srid) } static LWGEOM* -parse_geojson_multipolygon(json_object *geojson, int *hasz, int root_srid) +parse_geojson_multipolygon(json_object *geojson, int *hasz, int root_srid) { LWGEOM *geom = NULL; int i, j, k; @@ -423,7 +423,7 @@ parse_geojson_multipolygon(json_object *geojson, int *hasz, int root_srid) } static LWGEOM* -parse_geojson_geometrycollection(json_object *geojson, int *hasz, int root_srid) +parse_geojson_geometrycollection(json_object *geojson, int *hasz, int root_srid) { LWGEOM *geom = NULL; int i; @@ -461,7 +461,7 @@ parse_geojson_geometrycollection(json_object *geojson, int *hasz, int root_srid } static LWGEOM* -parse_geojson(json_object *geojson, int *hasz, int root_srid) +parse_geojson(json_object *geojson, int *hasz, int root_srid) { json_object* type = NULL; const char* name; @@ -515,7 +515,7 @@ lwgeom_from_geojson(const char *geojson, char **srs) *srs = NULL; lwerror("You need JSON-C for lwgeom_from_geojson"); return NULL; -#else /* HAVE_LIBJSON */ +#else /* HAVE_LIBJSON */ /* size_t geojson_size = strlen(geojson); */ @@ -577,7 +577,7 @@ lwgeom_from_geojson(const char *geojson, char **srs) LWDEBUG(2, "geom_from_geojson called."); } - return lwgeom; + return lwgeom; #endif /* HAVE_LIBJSON } */ }