Thread: pgsql: Fix C++ compile failures in headers.

pgsql: Fix C++ compile failures in headers.

From
Tom Lane
Date:
Fix C++ compile failures in headers.

Avoid using "typeid" as a parameter name in header files, since that
is a C++ keyword.  These cases were introduced recently, in 04fe805a1
and 586b98fdf.

Since I'm an incurable neatnik, also rename these parameters in the
underlying function definitions.  That's not really necessary per
project rules, but I don't like function declarations that don't
quite agree with the underlying definitions.

Per src/tools/pginclude/cpluspluscheck.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/eaf0380eccd53df5ce7d1fed41f4ca16f4146408

Modified Files
--------------
src/backend/optimizer/plan/setrefs.c |  6 +++---
src/backend/utils/adt/varlena.c      | 16 ++++++++--------
src/include/optimizer/planmain.h     |  2 +-
src/include/utils/varlena.h          |  2 +-
4 files changed, 13 insertions(+), 13 deletions(-)