diff options
Diffstat (limited to 'src/backend/access/gist')
-rw-r--r-- | src/backend/access/gist/gist.c | 6 | ||||
-rw-r--r-- | src/backend/access/gist/gistscan.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c index 1d8c25104ce..e200942d502 100644 --- a/src/backend/access/gist/gist.c +++ b/src/backend/access/gist/gist.c @@ -6,7 +6,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/gist/gist.c,v 1.56 2000/06/13 07:34:27 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/gist/gist.c,v 1.57 2000/06/14 05:24:35 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -303,7 +303,7 @@ gistbuild(PG_FUNCTION_ARGS) pfree(nulls); pfree(d); - PG_RETURN_POINTER(NULL); /* no real return value */ + PG_RETURN_VOID(); } /* @@ -1149,7 +1149,7 @@ gistdelete(PG_FUNCTION_ARGS) WriteBuffer(buf); - PG_RETURN_POINTER(NULL); /* no real return value */ + PG_RETURN_VOID(); } void diff --git a/src/backend/access/gist/gistscan.c b/src/backend/access/gist/gistscan.c index 729837e8008..d37a8c07763 100644 --- a/src/backend/access/gist/gistscan.c +++ b/src/backend/access/gist/gistscan.c @@ -154,7 +154,7 @@ gistrescan(PG_FUNCTION_ARGS) } } - PG_RETURN_POINTER(NULL); /* no real return value */ + PG_RETURN_VOID(); } Datum @@ -190,7 +190,7 @@ gistmarkpos(PG_FUNCTION_ARGS) gistfreestack(p->s_markstk); p->s_markstk = o; - PG_RETURN_POINTER(NULL); /* no real return value */ + PG_RETURN_VOID(); } Datum @@ -226,7 +226,7 @@ gistrestrpos(PG_FUNCTION_ARGS) gistfreestack(p->s_stack); p->s_stack = o; - PG_RETURN_POINTER(NULL); /* no real return value */ + PG_RETURN_VOID(); } Datum @@ -247,7 +247,7 @@ gistendscan(PG_FUNCTION_ARGS) gistdropscan(s); /* XXX don't unset read lock -- two-phase locking */ - PG_RETURN_POINTER(NULL); /* no real return value */ + PG_RETURN_VOID(); } static void |