summaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/tst-regexloc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/posix/tst-regexloc.c b/posix/tst-regexloc.c
index 38bf87abbf..62b739e4e2 100644
--- a/posix/tst-regexloc.c
+++ b/posix/tst-regexloc.c
@@ -23,8 +23,8 @@
#include <locale.h>
#include <stdio.h>
-int
-main (int argc, char *argv[])
+static int
+do_test (void)
{
regex_t re;
regmatch_t mat[1];
@@ -44,3 +44,6 @@ main (int argc, char *argv[])
return res;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"