From a859e640035680db31531ccd19a67292dd726baf Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 19 Aug 2016 13:31:10 -0400 Subject: 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. --- src/include/regex/regguts.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/include/regex/regguts.h') diff --git a/src/include/regex/regguts.h b/src/include/regex/regguts.h index 2ceffa6563b..b0aa641cc4f 100644 --- a/src/include/regex/regguts.h +++ b/src/include/regex/regguts.h @@ -149,7 +149,6 @@ * which are of much more manageable number. */ typedef short color; /* colors of characters */ -typedef int pcolor; /* what color promotes to */ #define MAX_COLOR 32767 /* max color (must fit in 'color' datatype) */ #define COLORLESS (-1) /* impossible color */ -- cgit v1.2.3