about summary refs log tree commit diff
path: root/stdio-common/tst-sprintf3.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-sprintf3.c')
-rw-r--r--stdio-common/tst-sprintf3.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdio-common/tst-sprintf3.c b/stdio-common/tst-sprintf3.c
index e54b23b167..e927761091 100644
--- a/stdio-common/tst-sprintf3.c
+++ b/stdio-common/tst-sprintf3.c
@@ -22,8 +22,8 @@
 #include <stdio.h>
 #include <string.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
 #if LDBL_MANT_DIG >= 106
   volatile union { long double l; long long x[2]; } u, v;
@@ -88,3 +88,6 @@ main (void)
 #endif
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"