mirror of
https://github.com/postgres/postgres.git
synced 2025-10-29 22:49:41 +03:00
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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user