From d1a040543b49e0aad273e7766cd7e2fcf2b781fa Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Sun, 7 Jul 2019 09:58:33 +0900 Subject: [PATCH] Remove more unreferenced function declarations Author: Masahiko Sawada Discussion: https://postgr.es/m/CAD21AoDuAYsRb3Q9aobkFZ6DZMWxsyg4HOmgkwgeWNfSkTwGxw@mail.gmail.com --- src/bin/pg_dump/pg_backup_archiver.h | 2 -- src/include/bootstrap/bootstrap.h | 2 -- src/include/utils/rel.h | 1 - src/interfaces/libpq/libpq-int.h | 1 - 4 files changed, 6 deletions(-) diff --git a/src/bin/pg_dump/pg_backup_archiver.h b/src/bin/pg_dump/pg_backup_archiver.h index db13507b47..fa2c6eff5a 100644 --- a/src/bin/pg_dump/pg_backup_archiver.h +++ b/src/bin/pg_dump/pg_backup_archiver.h @@ -426,8 +426,6 @@ typedef struct _archiveOpts extern TocEntry *ArchiveEntry(Archive *AHX, CatalogId catalogId, DumpId dumpId, ArchiveOpts *opts); -extern void WriteTOC(ArchiveHandle *AH); -extern void ReadTOC(ArchiveHandle *AH); extern void WriteHead(ArchiveHandle *AH); extern void ReadHead(ArchiveHandle *AH); extern void WriteToc(ArchiveHandle *AH); diff --git a/src/include/bootstrap/bootstrap.h b/src/include/bootstrap/bootstrap.h index 03706ad4f6..85705602cb 100644 --- a/src/include/bootstrap/bootstrap.h +++ b/src/include/bootstrap/bootstrap.h @@ -34,8 +34,6 @@ extern int numattr; extern void AuxiliaryProcessMain(int argc, char *argv[]) pg_attribute_noreturn(); -extern void err_out(void); - extern void closerel(char *name); extern void boot_openrel(char *name); diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index d7f33abce3..d35b4a5061 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -604,6 +604,5 @@ typedef struct ViewOptions extern void RelationIncrementReferenceCount(Relation rel); extern void RelationDecrementReferenceCount(Relation rel); extern bool RelationHasUnloggedIndex(Relation rel); -extern List *RelationGetRepsetList(Relation rel); #endif /* REL_H */ diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h index c0b8e3f8ce..fcf2bc2cab 100644 --- a/src/interfaces/libpq/libpq-int.h +++ b/src/interfaces/libpq/libpq-int.h @@ -660,7 +660,6 @@ extern int pqWriteReady(PGconn *conn); /* === in fe-secure.c === */ extern int pqsecure_initialize(PGconn *); -extern void pqsecure_destroy(void); extern PostgresPollingStatusType pqsecure_open_client(PGconn *); extern void pqsecure_close(PGconn *); extern ssize_t pqsecure_read(PGconn *, void *ptr, size_t len); -- 2.40.0