diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/cube/cube.c | 2 | ||||
-rw-r--r-- | contrib/intarray/_int.h | 6 | ||||
-rw-r--r-- | contrib/ltree/ltxtquery_io.c | 2 | ||||
-rw-r--r-- | contrib/pgstattuple/pgstatindex.c | 2 |
4 files changed, 3 insertions, 9 deletions
diff --git a/contrib/cube/cube.c b/contrib/cube/cube.c index 4f49c5981ab..b7203668760 100644 --- a/contrib/cube/cube.c +++ b/contrib/cube/cube.c @@ -100,7 +100,7 @@ bool g_cube_leaf_consistent(NDBOX *key, NDBOX *query, StrategyNumber strategy); bool g_cube_internal_consistent(NDBOX *key, NDBOX *query, StrategyNumber strategy); /* -** Auxiliary funxtions +** Auxiliary functions */ static double distance_1D(double a1, double a2, double b1, double b2); static bool cube_is_point_internal(NDBOX *cube); diff --git a/contrib/intarray/_int.h b/contrib/intarray/_int.h index b689eb7dedf..f03fdf9add9 100644 --- a/contrib/intarray/_int.h +++ b/contrib/intarray/_int.h @@ -86,12 +86,6 @@ typedef struct #define GETSIGN(x) ( (BITVECP)( (char*)x+GTHDRSIZE ) ) /* - * types for functions - */ -typedef ArrayType *(*formarray) (ArrayType *, ArrayType *); -typedef void (*formfloat) (ArrayType *, float *); - -/* * useful functions */ bool isort(int32 *a, int len); diff --git a/contrib/ltree/ltxtquery_io.c b/contrib/ltree/ltxtquery_io.c index 56bf39d145b..b576676746d 100644 --- a/contrib/ltree/ltxtquery_io.c +++ b/contrib/ltree/ltxtquery_io.c @@ -368,7 +368,7 @@ queryin(char *buf) state.str = tmp; } - /* set user friendly-operand view */ + /* set user-friendly operand view */ memcpy((void *) GETOPERAND(query), (void *) state.op, state.sumlen); pfree(state.op); diff --git a/contrib/pgstattuple/pgstatindex.c b/contrib/pgstattuple/pgstatindex.c index 2c807537266..4bae176e09e 100644 --- a/contrib/pgstattuple/pgstatindex.c +++ b/contrib/pgstattuple/pgstatindex.c @@ -727,7 +727,7 @@ pgstathashindex(PG_FUNCTION_ARGS) } /* ------------------------------------------------- - * GetHashPageStatis() + * GetHashPageStats() * * Collect statistics of single hash page * ------------------------------------------------- |