Skip to content

Commit 69fb29d

Browse files
committed
Remove function declarations from headers for some undefined functions
The functions whose declarations are removed here have been removed in the past, but their respective headers forgot the call. Author: Justin Pryzby Discussion: https://postgr.es/m/[email protected]
1 parent 3c6fc58 commit 69fb29d

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

src/bin/pg_dump/compress_io.h

-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ typedef struct cfp cfp;
5454

5555
extern cfp *cfopen(const char *path, const char *mode,
5656
const pg_compress_specification compression_spec);
57-
extern cfp *cfdopen(int fd, const char *mode,
58-
pg_compress_specification compression_spec);
5957
extern cfp *cfopen_read(const char *path, const char *mode);
6058
extern cfp *cfopen_write(const char *path, const char *mode,
6159
const pg_compress_specification compression_spec);

src/include/access/gist_private.h

-2
Original file line numberDiff line numberDiff line change
@@ -549,8 +549,6 @@ extern void gistSplitByKey(Relation r, Page page, IndexTuple *itup,
549549
/* gistbuild.c */
550550
extern IndexBuildResult *gistbuild(Relation heap, Relation index,
551551
struct IndexInfo *indexInfo);
552-
extern void gistValidateBufferingOption(const char *value);
553-
554552
/* gistbuildbuffers.c */
555553
extern GISTBuildBuffers *gistInitBuildBuffers(int pagesPerBuffer, int levelStep,
556554
int maxLevel);

src/include/access/xlogreader.h

-2
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,6 @@ extern XLogReaderState *XLogReaderAllocate(int wal_segment_size,
332332
const char *waldir,
333333
XLogReaderRoutine *routine,
334334
void *private_data);
335-
extern XLogReaderRoutine *LocalXLogReaderRoutine(void);
336-
337335
/* Free an XLogReader */
338336
extern void XLogReaderFree(XLogReaderState *state);
339337

0 commit comments

Comments
 (0)