about summary refs log tree commit diff
path: root/stdlib/tst-strtoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-strtoll.c')
-rw-r--r--stdlib/tst-strtoll.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdlib/tst-strtoll.c b/stdlib/tst-strtoll.c
index 0c77254d52..93f1a56a56 100644
--- a/stdlib/tst-strtoll.c
+++ b/stdlib/tst-strtoll.c
@@ -309,8 +309,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;
@@ -398,3 +398,6 @@ expand (dst, c)
   else
     (void) sprintf (dst, "%#.3o", (unsigned int) c);
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"