Peter Smith <smithpb2250@gmail.com> writes:
> AFAICT just by pre-declaring the typedef struct
> LogicalDecodingContext, all of those 'struct LogicalDecodingContext'
> can be culled, resulting in cleaner and more consistent function
> signatures.
Sadly, this is almost certainly going to cause bitching on the part of
some compilers, because depending on the order of header inclusions
they are going to see multiple typedefs for the same name. Redundant
"struct foo" declarations are portable C, but redundant "typedef foo"
not so much.
I also wonder if this passes headerscheck and cpluspluscheck.
regards, tom lane