projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e80d35
)
Make pg_bsd_indent's .h files inclusion-order-safe.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 12 Feb 2023 18:06:37 +0000
(13:06 -0500)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 12 Feb 2023 18:06:37 +0000
(13:06 -0500)
As-is, they failed headerscheck. Per buildfarm.
src/tools/pg_bsd_indent/indent.h
patch
|
blob
|
blame
|
history
diff --git
a/src/tools/pg_bsd_indent/indent.h
b/src/tools/pg_bsd_indent/indent.h
index d9fff8ccd6d41e06f5a78e087f384ba004ce3ea4..e9e71d667d8c460f302fa737c5cfa8948d95a524 100644
(file)
--- 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);