diff options
author | Tom Lane | 2019-01-10 19:07:01 +0000 |
---|---|---|
committer | Tom Lane | 2019-01-10 19:07:01 +0000 |
commit | eaf0380eccd53df5ce7d1fed41f4ca16f4146408 (patch) | |
tree | b23d9a102a19074bc2b0faedeacbaccb29864c1c /src/include/utils/varlena.h | |
parent | a968d54c5df196e06305c1efa731657f9536ec7a (diff) |
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.
Diffstat (limited to 'src/include/utils/varlena.h')
-rw-r--r-- | src/include/utils/varlena.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/utils/varlena.h b/src/include/utils/varlena.h index 9614b953a44..a405ad4565c 100644 --- a/src/include/utils/varlena.h +++ b/src/include/utils/varlena.h @@ -17,7 +17,7 @@ #include "utils/sortsupport.h" extern int varstr_cmp(const char *arg1, int len1, const char *arg2, int len2, Oid collid); -extern void varstr_sortsupport(SortSupport ssup, Oid typeid, Oid collid); +extern void varstr_sortsupport(SortSupport ssup, Oid typid, Oid collid); extern int varstr_levenshtein(const char *source, int slen, const char *target, int tlen, int ins_c, int del_c, int sub_c, |