Remove function declarations from headers for some undefined functions
authorMichael Paquier <[email protected]>
Wed, 11 Jan 2023 02:54:55 +0000 (11:54 +0900)
committerMichael Paquier <[email protected]>
Wed, 11 Jan 2023 02:54:55 +0000 (11:54 +0900)
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/20230110045722[email protected]

src/bin/pg_dump/compress_io.h
src/include/access/gist_private.h
src/include/access/xlogreader.h

index c04773a40067c2ad6cd428b19dc2572fe006305b..a429dc4789d884545736f36362bc08ce7f33dfee 100644 (file)
@@ -54,8 +54,6 @@ typedef struct cfp cfp;
 
 extern cfp *cfopen(const char *path, const char *mode,
                   const pg_compress_specification compression_spec);
-extern cfp *cfdopen(int fd, const char *mode,
-                   pg_compress_specification compression_spec);
 extern cfp *cfopen_read(const char *path, const char *mode);
 extern cfp *cfopen_write(const char *path, const char *mode,
                         const pg_compress_specification compression_spec);
index f2bb4455f57e2e5f25f6ecf6c55a9c08d6c01c7c..8af33d7b40d75952cc87993bcbaffcfa049d2d39 100644 (file)
@@ -549,8 +549,6 @@ extern void gistSplitByKey(Relation r, Page page, IndexTuple *itup,
 /* gistbuild.c */
 extern IndexBuildResult *gistbuild(Relation heap, Relation index,
                                   struct IndexInfo *indexInfo);
-extern void gistValidateBufferingOption(const char *value);
-
 /* gistbuildbuffers.c */
 extern GISTBuildBuffers *gistInitBuildBuffers(int pagesPerBuffer, int levelStep,
                                              int maxLevel);
index da64f99f0b392c0b0ea5cd0ebefc793cb0400164..d77bb2ab9bc1fcda074ced622697173637e03a46 100644 (file)
@@ -332,8 +332,6 @@ extern XLogReaderState *XLogReaderAllocate(int wal_segment_size,
                                           const char *waldir,
                                           XLogReaderRoutine *routine,
                                           void *private_data);
-extern XLogReaderRoutine *LocalXLogReaderRoutine(void);
-
 /* Free an XLogReader */
 extern void XLogReaderFree(XLogReaderState *state);