summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-02-12 13:06:37 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2023-02-12 13:06:37 -0500
commit6ded4a5a3de1e8d5f3ec50efd4a2d7a39d2550a6 (patch)
treef7c222f857dca0dc5b9f72c5dd40b513814573c7 /src/tools
parent5e80d3515488a12f776ba14a07fbb5aa6b3ef013 (diff)
downloadpostgresql-6ded4a5a3de1e8d5f3ec50efd4a2d7a39d2550a6.tar.gz
Make pg_bsd_indent's .h files inclusion-order-safe.
As-is, they failed headerscheck. Per buildfarm.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/pg_bsd_indent/indent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/pg_bsd_indent/indent.h b/src/tools/pg_bsd_indent/indent.h
index d9fff8ccd6..e9e71d667d 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);