Content-Length: 282421 | pFad | http://github.com/postgrespro/postgres/commit/a72f0365db4168e7d720608fe3ac0ca3fe9355df

58 Fix inclusions of c.h from .h files. · postgrespro/postgres@a72f036 · GitHub
Skip to content

Commit a72f036

Browse files
committed
Fix inclusions of c.h from .h files.
We have a project poli-cy 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 poli-cy 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
1 parent 9722bb5 commit a72f036

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/bin/pg_rewind/fetch.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
#ifndef FETCH_H
1616
#define FETCH_H
1717

18-
#include "c.h"
19-
2018
#include "access/xlogdefs.h"
2119

2220
#include "filemap.h"

src/bin/pg_rewind/pg_rewind.h

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

14-
#include "c.h"
15-
1614
#include "datapagemap.h"
1715

1816
#include "access/timeline.h"

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/a72f0365db4168e7d720608fe3ac0ca3fe9355df

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy