diff options
| author | Bruce Momjian <bruce@momjian.us> | 2000-06-08 22:38:00 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2000-06-08 22:38:00 +0000 |
| commit | 20ad43b576d9360b0e9ce9bd868c989443cf9d36 (patch) | |
| tree | 6cdf8d6fb7e1e229158000234ff32a426447a53f /src/backend/storage/file/buffile.c | |
| parent | 5690933d6c14a706b52edf76c71cbf5660b110e1 (diff) | |
| download | postgresql-20ad43b576d9360b0e9ce9bd868c989443cf9d36.tar.gz | |
Mark functions as static and ifdef NOT_USED as appropriate.
Diffstat (limited to 'src/backend/storage/file/buffile.c')
| -rw-r--r-- | src/backend/storage/file/buffile.c | 9 |
1 files changed, 8 insertions, 1 deletions
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 + |
