1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-28 18:48:04 +03:00

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.
This commit is contained in:
Tom Lane
2010-12-27 11:26:19 -05:00
parent c7f0038d73
commit 275411912d
2 changed files with 5 additions and 5 deletions

View File

@@ -563,7 +563,7 @@ typedef enum FmgrHookEventType
typedef bool (*needs_fmgr_hook_type)(Oid fn_oid);
typedef void (*fmgr_hook_type)(FmgrHookEventType event,
FmgrInfo *flinfo, Datum *private);
FmgrInfo *flinfo, Datum *arg);
extern PGDLLIMPORT needs_fmgr_hook_type needs_fmgr_hook;
extern PGDLLIMPORT fmgr_hook_type fmgr_hook;