diff options
Diffstat (limited to 'posix/tst-regexloc.c')
-rw-r--r-- | posix/tst-regexloc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/posix/tst-regexloc.c b/posix/tst-regexloc.c index 38bf87a..62b739e 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" |