Skip to content

Commit 2f5b056

Browse files
committed
Remove inappropriate inclusions of c.h and postgres_fe.h.
Per our usual policy, Postgres header files should not include these; the decision as to which one to use is to be made in the calling .c file instead. These errors aren't particularly new, but I'm not feeling a need to back-patch these changes; it's mostly just neatnik-ism.
1 parent 94b84a6 commit 2f5b056

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/bin/pg_combinebackup/copy_file.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#ifndef COPY_FILE_H
1212
#define COPY_FILE_H
1313

14-
#include "c.h"
1514
#include "common/checksum_helper.h"
1615

1716
/*

src/include/fe_utils/option_utils.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
#ifndef OPTION_UTILS_H
1313
#define OPTION_UTILS_H
1414

15-
#include "postgres_fe.h"
16-
1715
#include "common/file_utils.h"
1816

1917
typedef void (*help_handler) (const char *progname);

src/include/fe_utils/query_utils.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
#ifndef QUERY_UTILS_H
1313
#define QUERY_UTILS_H
1414

15-
#include "postgres_fe.h"
16-
1715
#include "libpq-fe.h"
1816

1917
extern PGresult *executeQuery(PGconn *conn, const char *query, bool echo);

0 commit comments

Comments
 (0)