about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/tst-fopenloc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libio/tst-fopenloc.c b/libio/tst-fopenloc.c
index 8fe83fd5c8..140d9762f9 100644
--- a/libio/tst-fopenloc.c
+++ b/libio/tst-fopenloc.c
@@ -29,8 +29,8 @@
 static const char inputfile[] = "../iconvdata/testdata/ISO-8859-1";
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   FILE *fp;
 
@@ -59,3 +59,6 @@ main (void)
 
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"