aboutsummaryrefslogtreecommitdiff
path: root/libio/tst-sscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst-sscanf.c')
-rw-r--r--libio/tst-sscanf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libio/tst-sscanf.c b/libio/tst-sscanf.c
index b1a2b84..fb4be34 100644
--- a/libio/tst-sscanf.c
+++ b/libio/tst-sscanf.c
@@ -3,8 +3,8 @@
#define WCS_LENGTH 256
-int
-main (void)
+static int
+do_test (void)
{
const char cnv[] ="%l[abc]";
const char str[] = "abbcXab";
@@ -18,3 +18,6 @@ main (void)
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"