postgres.git / summary / log / commit / refs
commit 6ded4a5a3de1e8d5f3ec50efd4a2d7a39d2550a6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sun Feb 12 18:06:37 2023 +0000
First released in: 16.0
Make pg_bsd_indent's .h files inclusion-order-safe.
As-is, they failed headerscheck. Per buildfarm.
src/tools/pg_bsd_indent/indent.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/tools/pg_bsd_indent/indent.h b/src/tools/pg_bsd_indent/indent.h
index d9fff8ccd6d..e9e71d667d8 100644
--- a/src/tools/pg_bsd_indent/indent.h
+++ b/src/tools/pg_bsd_indent/indent.h
@@ -30,6 +30,8 @@ __FBSDID("$FreeBSD: head/usr.bin/indent/indent.h 303746 2016-08-04 15:27:09Z pfg
#define nitems(x) (sizeof((x)) / sizeof((x)[0]))
+struct parser_state; /* allow forward reference */
+
void add_typename(const char *);
void alloc_typenames(void);
int compute_code_target(void);
[parent: 5e80d3515488]