From: Sandro Santilli Date: Thu, 14 Sep 2017 15:56:58 +0000 (+0000) Subject: Remove trailing blanks X-Git-Tag: 2.4.0rc2~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca544d0830372e4ea2ed153147870cda0d21db6c;p=postgis Remove trailing blanks git-svn-id: http://svn.osgeo.org/postgis/trunk@15731 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/extensions/address_standardizer/pagc_api.h b/extensions/address_standardizer/pagc_api.h index aba20b1f0..18e4ab3d4 100644 --- a/extensions/address_standardizer/pagc_api.h +++ b/extensions/address_standardizer/pagc_api.h @@ -977,7 +977,7 @@ int extract_house(const char *, int) ; /*-- Use check_macro --*/ int read_unstandardized(SCHEMA *, DS_Handle, DS_Entity_t, int *, int *, int *, char *, CHECK_MACRO* , char *, char **, DS_Field_t *, int *, ERR_PARAM *) ; -/* -- makebeta.c -- */ +/* -- makebeta.c -- */ int init_standardized_table(SCHEMA *, ERR_PARAM *) ; int soundex_street_words(char *, char **) ; /* 2008-08-01 : add stand_alt_macro flag for alternate city names */ @@ -1243,7 +1243,7 @@ macros for converting and verifying pagc_client args #define INTEGER_AS_BYTES( PTR_VAL ) \ * ( ( int * ) ( PTR_VAL ) ) - + #define DOUBLE_AS_BYTES( PTR_VAL ) \ *( ( double * ) ( PTR_VAL ) ) diff --git a/liblwgeom/bytebuffer.h b/liblwgeom/bytebuffer.h index 0a30faf30..645a5e28f 100644 --- a/liblwgeom/bytebuffer.h +++ b/liblwgeom/bytebuffer.h @@ -38,8 +38,8 @@ typedef struct { size_t capacity; uint8_t *buf_start; - uint8_t *writecursor; - uint8_t *readcursor; + uint8_t *writecursor; + uint8_t *readcursor; } bytebuffer_t; diff --git a/liblwgeom/effectivearea.h b/liblwgeom/effectivearea.h index e1d841e0a..b21c8bfce 100644 --- a/liblwgeom/effectivearea.h +++ b/liblwgeom/effectivearea.h @@ -50,7 +50,7 @@ This structure holds a minheap tree that is used to keep track of what points th When elliminating points the neighbor points has its effective area affected and the minheap helps to resort efficient. */ typedef struct -{ +{ int maxSize; int usedSize; areanode **key_array; diff --git a/liblwgeom/lwin_wkt.h b/liblwgeom/lwin_wkt.h index 43742d7ae..14f54db26 100644 --- a/liblwgeom/lwin_wkt.h +++ b/liblwgeom/lwin_wkt.h @@ -36,7 +36,7 @@ typedef struct double y; double z; double m; -} +} POINT; /* diff --git a/liblwgeom/lwtree.h b/liblwgeom/lwtree.h index ed1ca8607..66d7f6442 100644 --- a/liblwgeom/lwtree.h +++ b/liblwgeom/lwtree.h @@ -32,7 +32,7 @@ typedef struct rect_node struct rect_node *right_node; POINT2D *p1; POINT2D *p2; -} RECT_NODE; +} RECT_NODE; int rect_tree_contains_point(const RECT_NODE *tree, const POINT2D *pt, int *on_boundary); int rect_tree_intersects_tree(const RECT_NODE *tree1, const RECT_NODE *tree2); diff --git a/liblwgeom/lwunionfind.h b/liblwgeom/lwunionfind.h index 4c2d3e9cb..34b2efd0e 100644 --- a/liblwgeom/lwunionfind.h +++ b/liblwgeom/lwunionfind.h @@ -55,7 +55,7 @@ void UF_union(UNIONFIND* uf, uint32_t i, uint32_t j); * same cluster are contiguous in the array */ uint32_t* UF_ordered_by_cluster(UNIONFIND* uf); -/* Replace the cluster ids in a UNIONFIND with sequential ids starting at one. +/* Replace the cluster ids in a UNIONFIND with sequential ids starting at one. * If is_in_cluster array is provided, it will be used to skip any indexes * that are not in a cluster. * */ diff --git a/libpgcommon/lwgeom_pg.h b/libpgcommon/lwgeom_pg.h index 1184af2ae..1a7fa3508 100644 --- a/libpgcommon/lwgeom_pg.h +++ b/libpgcommon/lwgeom_pg.h @@ -49,7 +49,7 @@ void pg_install_lwgeom_handlers(void); } while (0); #else /* POSTGIS_DEBUG_LEVEL */ - + /* Empty prototype that can be optimised away by the compiler for non-debug builds */ #define POSTGIS_DEBUG(level, msg) \ ((void) 0) diff --git a/loader/shp2pgsql-core.h b/loader/shp2pgsql-core.h index 021b3a402..490e18522 100644 --- a/loader/shp2pgsql-core.h +++ b/loader/shp2pgsql-core.h @@ -101,7 +101,7 @@ typedef struct shp_loader_config /* 0 = MULTIPOLYGON/MULTILINESTRING, 1 = force to POLYGON/LINESTRING */ int simple_geometries; - + /* 0 = geometry, 1 = geography */ int geography; @@ -143,7 +143,7 @@ typedef struct shp_loader_config /* whether to do a single transaction or run each statement on its own */ int usetransaction; - + /* Name of the column map file if specified */ char *column_map_filename; @@ -160,7 +160,7 @@ typedef struct shp_loader_state /* Shapefile handle */ SHPHandle hSHPHandle; - + /* Shapefile type */ int shpfiletype; @@ -188,7 +188,7 @@ typedef struct shp_loader_state /* Pointer to an array of PostgreSQL field types */ char **pgfieldtypes; - + /* String containing colume name list in the form "(col1, col2, col3 ... , colN)" */ char *col_names; @@ -216,7 +216,7 @@ typedef struct shp_loader_state /* geometry/geography column name to use. Will be set to the default if the config did not specify a column name. */ char *geo_col; - + /* Column map */ colmap column_map; diff --git a/raster/rt_core/librtcore.h b/raster/rt_core/librtcore.h index 96d5eeff4..7e4baa591 100644 --- a/raster/rt_core/librtcore.h +++ b/raster/rt_core/librtcore.h @@ -829,7 +829,7 @@ rt_bandstats rt_band_get_summary_stats( int exclude_nodata_value, double sample, int inc_vals, uint64_t *cK, double *cM, double *cQ ); - + /** * Count the distribution of data *