1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00

Mark functions as static and ifdef NOT_USED as appropriate.

This commit is contained in:
Bruce Momjian
2000-06-08 22:38:00 +00:00
parent 5690933d6c
commit 20ad43b576
55 changed files with 188 additions and 175 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.18 2000/05/30 00:49:53 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.19 2000/06/08 22:37:28 momjian Exp $
*
* NOTES
* input routine largely stolen from boxin().
@ -114,6 +114,7 @@ tideq(ItemPointer arg1, ItemPointer arg2)
arg1->ip_posid == arg2->ip_posid);
}
#ifdef NOT_USED
bool
tidne(ItemPointer arg1, ItemPointer arg2)
{
@ -123,7 +124,9 @@ tidne(ItemPointer arg1, ItemPointer arg2)
BlockIdGetBlockNumber(&(arg2->ip_blkid)) ||
arg1->ip_posid != arg2->ip_posid);
}
#endif
#ifdef NOT_USED
text *
tid_text(ItemPointer tid)
{
@ -135,7 +138,9 @@ tid_text(ItemPointer tid)
return textin(str);
} /* tid_text() */
#endif
#ifdef NOT_USED
ItemPointer
text_tid(const text *string)
{
@ -151,7 +156,7 @@ text_tid(const text *string)
return result;
} /* text_tid() */
#endif
/*
* Functions to get latest tid of a specified tuple.