Fix inclusions of c.h from .h files.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Mar 2017 01:58:17 +0000 (20:58 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Mar 2017 01:58:17 +0000 (20:58 -0500)
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

src/bin/pg_rewind/fetch.h
src/bin/pg_rewind/pg_rewind.h

index e56fd973cd505ca53ce90098360176bebe4c9a2d..ccb2dab3e9ad880f436f4b17ace8e2fed9df8fe7 100644 (file)
@@ -15,8 +15,6 @@
 #ifndef FETCH_H
 #define FETCH_H
 
-#include "c.h"
-
 #include "access/xlogdefs.h"
 
 #include "filemap.h"
index 5c8e7bb1bfc8e8bee6809b3a78d8976f5e9bfd0a..524478a72bb1cd9534dcbc74e6972da957ff6691 100644 (file)
@@ -11,8 +11,6 @@
 #ifndef PG_REWIND_H
 #define PG_REWIND_H
 
-#include "c.h"
-
 #include "datapagemap.h"
 
 #include "access/timeline.h"