diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-08-19 21:40:56 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-08-19 21:40:56 +0000 |
commit | 1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b (patch) | |
tree | 8d3a5dac9207f22c3afb8afb563d54f88774deb3 /src/backend/access/index/indexam.c | |
parent | b992e200b8872ecb6652ec85111995f8d4c5aee0 (diff) | |
download | postgresql-1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b.tar.gz postgresql-1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b.zip |
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
Diffstat (limited to 'src/backend/access/index/indexam.c')
-rw-r--r-- | src/backend/access/index/indexam.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend/access/index/indexam.c b/src/backend/access/index/indexam.c index 16f11ca07a4..5681e7be4f3 100644 --- a/src/backend/access/index/indexam.c +++ b/src/backend/access/index/indexam.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.11 1997/08/12 22:51:48 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.12 1997/08/19 21:29:30 momjian Exp $ * * INTERFACE ROUTINES * index_open - open an index relation by relationId @@ -271,6 +271,7 @@ index_endscan(IndexScanDesc scan) RelationUnsetRIntentLock(scan->relation); } +#ifdef NOT_USED /* ---------------- * index_markpos - mark a scan position * ---------------- @@ -285,7 +286,9 @@ index_markpos(IndexScanDesc scan) fmgr(procedure, scan); } +#endif +#ifdef NOT_USED /* ---------------- * index_restrpos - restore a scan position * ---------------- @@ -300,6 +303,7 @@ index_restrpos(IndexScanDesc scan) fmgr(procedure, scan); } +#endif /* ---------------- * index_getnext - get the next tuple from a scan |