pgsql: Fix ill-chosen use of "private" as an argument and struct field

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix ill-chosen use of "private" as an argument and struct field
Date: 2010-12-27 16:26:58
Message-ID: E1PXFuU-0005vF-L5@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix ill-chosen use of "private" as an argument and struct field name.

"private" is a keyword in C++, so this breaks the poorly-enforced policy
that header files should be include-able in C++ code. Per report from
Craig Ringer and some investigation with cpluspluscheck.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=275411912d96c160547a219cb3223efa3737f90d

Modified Files
--------------
src/backend/utils/fmgr/fmgr.c | 8 ++++----
src/include/fmgr.h | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-12-27 16:37:13 pgsql: Tweak cpluspluscheck to avoid directly #include'ing gram.h.
Previous Message Alvaro Herrera 2010-12-27 15:40:21 pgsql: Break up long line, per Leslie S Satenstein.