Skip to content

Commit a72f036

Browse files
committed
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
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy