pgsql: Clean up another pre-ANSI-C-ism in regex code: get rid of pcolor

Started by Tom Lanealmost 10 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Clean up another pre-ANSI-C-ism in regex code: get rid of pcolor typedef.

pcolor was used to represent function arguments that are nominally of
type color, but when using a pre-ANSI C compiler would be passed as the
promoted integer type. We really don't need that anymore.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a859e640035680db31531ccd19a67292dd726baf

Modified Files
--------------
src/backend/regex/regc_color.c | 10 +++++-----
src/backend/regex/regc_nfa.c | 8 ++++----
src/backend/regex/regcomp.c | 14 +++++++-------
src/backend/regex/rege_dfa.c | 6 +++---
src/backend/regex/regexec.c | 4 ++--
src/include/regex/regguts.h | 1 -
6 files changed, 21 insertions(+), 22 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers