summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-03-08 20:58:17 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-03-08 20:58:17 -0500
commita72f0365db4168e7d720608fe3ac0ca3fe9355df (patch)
tree6d3a5620d0c08a9e7371f8e67152b9cab9cff89c /src
parent9722bb5757c5e90617be685bf127911b63efe08d (diff)
downloadpostgresql-a72f0365db4168e7d720608fe3ac0ca3fe9355df.tar.gz
Fix inclusions of c.h from .h files.
We have a project policy that every .c file should start by including postgres.h, postgres_fe.h, or c.h as appropriate; and then there is no need for any .h file to explicitly include any of these. Fix a few headers that were violating this policy by including c.h. Discussion: https://postgr.es/m/CAEepm=2zCoeq3QxVwhS5DFeUh=yU6z81pbWMgfOB8OzyiBwxzw@mail.gmail.com Discussion: https://postgr.es/m/11634.1488932128@sss.pgh.pa.us
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_rewind/fetch.h2
-rw-r--r--src/bin/pg_rewind/pg_rewind.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/bin/pg_rewind/fetch.h b/src/bin/pg_rewind/fetch.h
index e56fd973cd..ccb2dab3e9 100644
--- a/src/bin/pg_rewind/fetch.h
+++ b/src/bin/pg_rewind/fetch.h
@@ -15,8 +15,6 @@
#ifndef FETCH_H
#define FETCH_H
-#include "c.h"
-
#include "access/xlogdefs.h"
#include "filemap.h"
diff --git a/src/bin/pg_rewind/pg_rewind.h b/src/bin/pg_rewind/pg_rewind.h
index 5c8e7bb1bf..524478a72b 100644
--- a/src/bin/pg_rewind/pg_rewind.h
+++ b/src/bin/pg_rewind/pg_rewind.h
@@ -11,8 +11,6 @@
#ifndef PG_REWIND_H
#define PG_REWIND_H
-#include "c.h"
-
#include "datapagemap.h"
#include "access/timeline.h"