pgsql: Fix inclusions of c.h from .h files.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix inclusions of c.h from .h files.
Date: 2017-03-09 01:58:23
Message-ID: E1clnLT-0005yy-Eg@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a72f0365db4168e7d720608fe3ac0ca3fe9355df

Modified Files
--------------
src/bin/pg_rewind/fetch.h | 2 --
src/bin/pg_rewind/pg_rewind.h | 2 --
2 files changed, 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-03-09 12:49:42 pgsql: Add a Gather Merge executor node.
Previous Message Tom Lane 2017-03-09 01:41:12 pgsql: Fix inclusions of postgres_fe.h from .h files.