aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-strtol.c')
-rw-r--r--stdlib/tst-strtol.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdlib/tst-strtol.c b/stdlib/tst-strtol.c
index eebd8f7..448102a 100644
--- a/stdlib/tst-strtol.c
+++ b/stdlib/tst-strtol.c
@@ -534,8 +534,8 @@ static const struct ltest tests[] =
/* Prototypes for local functions. */
static void expand (char *dst, int c);
-int
-main (void)
+static int
+do_test (void)
{
const struct ltest *lt;
char *ep;
@@ -623,3 +623,6 @@ expand (dst, c)
else
(void) sprintf (dst, "%#.3o", (unsigned int) c);
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"