From 20ad43b576d9360b0e9ce9bd868c989443cf9d36 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 8 Jun 2000 22:38:00 +0000 Subject: Mark functions as static and ifdef NOT_USED as appropriate. --- src/backend/storage/file/buffile.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/backend/storage/file/buffile.c') diff --git a/src/backend/storage/file/buffile.c b/src/backend/storage/file/buffile.c index d62ed2670c..844ba9b4e6 100644 --- a/src/backend/storage/file/buffile.c +++ b/src/backend/storage/file/buffile.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/storage/file/buffile.c,v 1.5 2000/04/12 17:15:35 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/storage/file/buffile.c,v 1.6 2000/06/08 22:37:22 momjian Exp $ * * NOTES: * @@ -149,6 +149,7 @@ BufFileCreateTemp(void) return file; } +#ifdef NOT_USED /* * Create a BufFile and attach it to an already-opened virtual File. * @@ -161,6 +162,7 @@ BufFileCreate(File file) { return makeBufFile(file); } +#endif /* * Close a BufFile @@ -529,12 +531,14 @@ BufFileSeek(BufFile *file, int fileno, long offset, int whence) return 0; } +#ifdef NOT_USED void BufFileTell(BufFile *file, int *fileno, long *offset) { *fileno = file->curFile; *offset = file->curOffset + file->pos; } +#endif /* * BufFileSeekBlock --- block-oriented seek @@ -556,6 +560,7 @@ BufFileSeekBlock(BufFile *file, long blknum) SEEK_SET); } +#ifdef NOT_USED /* * BufFileTellBlock --- block-oriented tell * @@ -570,3 +575,5 @@ BufFileTellBlock(BufFile *file) blknum += file->curFile * RELSEG_SIZE; return blknum; } +#endif + -- cgit v1.2.1