Function definition removed but prototype still there

Started by Rajeev rastogialmost 12 years ago2 messages
#1Rajeev rastogi
rajeev.rastogi@huawei.com
1 attachment(s)

As part of the below commit

36a35c550ac114caa423bcbe339d3515db0cd957 (Compress GIN posting lists, for smaller index size.)

Function GinDataPageAddItemPointer definition was removed but corresponding prototype was still there.

Attached is the patch to fix the same.

Thanks and Regards,
Kumar Rajeev Rastogi

Attachments:

unwanted_prototype.patchapplication/octet-stream; name=unwanted_prototype.patchDownload
*** a/src/include/access/gin_private.h
--- b/src/include/access/gin_private.h
***************
*** 697,703 **** extern int GinDataLeafPageGetItemsToTbm(Page page, TIDBitmap *tbm);
  extern BlockNumber createPostingTree(Relation index,
  				  ItemPointerData *items, uint32 nitems,
  				  GinStatsData *buildStats);
- extern void GinDataPageAddItemPointer(Page page, ItemPointer data, OffsetNumber offset);
  extern void GinDataPageAddPostingItem(Page page, PostingItem *data, OffsetNumber offset);
  extern void GinPageDeletePostingItem(Page page, OffsetNumber offset);
  extern void ginInsertItemPointers(Relation index, BlockNumber rootBlkno,
--- 697,702 ----
#2Bruce Momjian
bruce@momjian.us
In reply to: Rajeev rastogi (#1)
Re: Function definition removed but prototype still there

On Tue, Jan 28, 2014 at 09:42:37AM +0000, Rajeev rastogi wrote:

As part of the below commit

36a35c550ac114caa423bcbe339d3515db0cd957 (Compress GIN posting
lists, for smaller index size.)

Function GinDataPageAddItemPointer definition was removed but corresponding
prototype was still there.

Attached is the patch to fix the same.

Thanks. Applied.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers