summaryrefslogtreecommitdiff
path: root/src/include/regex
diff options
context:
space:
mode:
authorBruce Momjian2001-10-28 06:26:15 +0000
committerBruce Momjian2001-10-28 06:26:15 +0000
commit6783b2372ef13c141649840a836ff0a954ea1d4d (patch)
tree81c727b2b08930bcf3ab7107c84ef59f1f68a78d /src/include/regex
parentc29797deeb5dfca61b8959344b682b4c32fe53a1 (diff)
Another pgindent run. Fixes enum indenting, and improves #endif
spacing. Also adds space for one-line comments.
Diffstat (limited to 'src/include/regex')
-rw-r--r--src/include/regex/cclass.h2
-rw-r--r--src/include/regex/cname.h2
-rw-r--r--src/include/regex/regex.h1
-rw-r--r--src/include/regex/regex2.h1
-rw-r--r--src/include/regex/utils.h1
5 files changed, 5 insertions, 2 deletions
diff --git a/src/include/regex/cclass.h b/src/include/regex/cclass.h
index c0ae7da4f65..700c712d8ca 100644
--- a/src/include/regex/cclass.h
+++ b/src/include/regex/cclass.h
@@ -43,7 +43,7 @@ static struct cclass
char *name;
char *chars;
char *multis;
-} cclasses[] =
+} cclasses[] =
{
{
diff --git a/src/include/regex/cname.h b/src/include/regex/cname.h
index a333e9c4e5e..235de80a2d5 100644
--- a/src/include/regex/cname.h
+++ b/src/include/regex/cname.h
@@ -42,7 +42,7 @@ static struct cname
{
char *name;
char code;
-} cnames[] =
+} cnames[] =
{
{
diff --git a/src/include/regex/regex.h b/src/include/regex/regex.h
index 9ef8bee95a5..180bfe204f5 100644
--- a/src/include/regex/regex.h
+++ b/src/include/regex/regex.h
@@ -109,4 +109,5 @@ extern int pg95_regexec(const regex_t *preg, const char *string,
size_t nmatch,
regmatch_t *pmatch, int eflags);
extern void pg95_regfree(regex_t *preg);
+
#endif /* !_REGEX_H_ */
diff --git a/src/include/regex/regex2.h b/src/include/regex/regex2.h
index 8bcdddb65ab..98bf46a52e3 100644
--- a/src/include/regex/regex2.h
+++ b/src/include/regex/regex2.h
@@ -193,4 +193,5 @@ struct re_guts
(isalnum((unsigned char) (c)) || (c) == '_'))
#else
#define ISWORD(c) (isalnum((unsigned char) (c)) || (c) == '_')
+
#endif
diff --git a/src/include/regex/utils.h b/src/include/regex/utils.h
index 0ef6c50a8e2..4a29c217264 100644
--- a/src/include/regex/utils.h
+++ b/src/include/regex/utils.h
@@ -60,4 +60,5 @@ typedef unsigned char uch;
#define NDEBUG /* no assertions please */
#endif
#endif
+
#endif /* _REGEX_UTILS_H */