aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/regerror.c')
-rw-r--r--src/regex/regerror.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/regex/regerror.c b/src/regex/regerror.c
index 5b347cc7..3e66104e 100644
--- a/src/regex/regerror.c
+++ b/src/regex/regerror.c
@@ -35,3 +35,11 @@ size_t regerror(int e, const regex_t *restrict preg, char *restrict buf, size_t
s = LCTRANS_CUR(s);
return 1+snprintf(buf, size, "%s", s);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif