aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_utils_num.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-05-12 00:39:37 +0000
committerNeil Conway <neilc@samurai.com>2005-05-12 00:39:37 +0000
commit8d6e9bca3783672b84318766fde0458435635fb8 (patch)
treed3e11c7b9d2d83c6ebc24967cf1eca0cf557c58b /contrib/btree_gist/btree_utils_num.c
parent34b788d67498f476b539550c2b76e13ae70a53b4 (diff)
downloadpostgresql-8d6e9bca3783672b84318766fde0458435635fb8.tar.gz
postgresql-8d6e9bca3783672b84318766fde0458435635fb8.zip
This patch makes some minor style cleanups to contrib/btree_gist: remove
the "extern" keyword from function definitions, reorganize some PG_GETARG_XXX() usage, and similar.
Diffstat (limited to 'contrib/btree_gist/btree_utils_num.c')
-rw-r--r--contrib/btree_gist/btree_utils_num.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/btree_gist/btree_utils_num.c b/contrib/btree_gist/btree_utils_num.c
index f37c001b994..ab4355e6fe8 100644
--- a/contrib/btree_gist/btree_utils_num.c
+++ b/contrib/btree_gist/btree_utils_num.c
@@ -2,7 +2,7 @@
#include "btree_utils_num.h"
#include "utils/date.h"
-extern GISTENTRY *
+GISTENTRY *
gbt_num_compress(GISTENTRY *retval, GISTENTRY *entry, const gbtree_ninfo * tinfo)
{
@@ -61,7 +61,7 @@ gbt_num_compress(GISTENTRY *retval, GISTENTRY *entry, const gbtree_ninfo * tinfo
** The GiST union method for numerical values
*/
-extern void *
+void *
gbt_num_union(GBT_NUMKEY * out, const GistEntryVector *entryvec, const gbtree_ninfo * tinfo)
{
int i,
@@ -99,7 +99,7 @@ gbt_num_union(GBT_NUMKEY * out, const GistEntryVector *entryvec, const gbtree_ni
** The GiST same method for numerical values
*/
-extern bool
+bool
gbt_num_same(const GBT_NUMKEY * a, const GBT_NUMKEY * b, const gbtree_ninfo * tinfo)
{
@@ -121,7 +121,7 @@ gbt_num_same(const GBT_NUMKEY * a, const GBT_NUMKEY * b, const gbtree_ninfo * ti
}
-extern void
+void
gbt_num_bin_union(Datum *u, GBT_NUMKEY * e, const gbtree_ninfo * tinfo)
{
@@ -155,7 +155,7 @@ gbt_num_bin_union(Datum *u, GBT_NUMKEY * e, const gbtree_ninfo * tinfo)
** The GiST consistent method
*/
-extern bool
+bool
gbt_num_consistent(
const GBT_NUMKEY_R * key,
const void *query,