aboutsummaryrefslogtreecommitdiff
path: root/src/include/regex/cclass.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-02-13 00:02:36 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-02-13 00:02:36 +0000
commitf7a839bc2ba3f15d48006fe931499d4d9cfb314f (patch)
tree94bed4f73922d577c2466149fe703f94d6f77722 /src/include/regex/cclass.h
parentf4e4c7291ea691e558285fafbd6648ba85af5f26 (diff)
downloadpostgresql-f7a839bc2ba3f15d48006fe931499d4d9cfb314f.tar.gz
postgresql-f7a839bc2ba3f15d48006fe931499d4d9cfb314f.zip
Clean up portability problems in regexp package: change all routine
definitions from K&R to ANSI C style, and fix broken assumption that int and long are the same datatype. This repairs problems observed on Alpha with regexps having between 32 and 63 states.
Diffstat (limited to 'src/include/regex/cclass.h')
-rw-r--r--src/include/regex/cclass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/regex/cclass.h b/src/include/regex/cclass.h
index 2ab5eca33f5..8290810259c 100644
--- a/src/include/regex/cclass.h
+++ b/src/include/regex/cclass.h
@@ -94,6 +94,6 @@ static struct cclass
""
},
{
- NULL, 0, ""
+ NULL, NULL, ""
}
};