summaryrefslogtreecommitdiff
path: root/wcsmbs/tst-wcpncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/tst-wcpncpy.c')
-rw-r--r--wcsmbs/tst-wcpncpy.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/wcsmbs/tst-wcpncpy.c b/wcsmbs/tst-wcpncpy.c
index 74765e755e..4cf4aeccd0 100644
--- a/wcsmbs/tst-wcpncpy.c
+++ b/wcsmbs/tst-wcpncpy.c
@@ -20,8 +20,8 @@
#include <wchar.h>
-int
-main (void)
+static int
+do_test (void)
{
int result = 0;
@@ -74,3 +74,6 @@ main (void)
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"