summary refs log tree commit diff
path: root/stdio-common/tst-cookie.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-cookie.c')
-rw-r--r--stdio-common/tst-cookie.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdio-common/tst-cookie.c b/stdio-common/tst-cookie.c
index dcdabf3230..030e684562 100644
--- a/stdio-common/tst-cookie.c
+++ b/stdio-common/tst-cookie.c
@@ -63,8 +63,8 @@ cookieclose (void *cookie)
 }
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   cookie_io_functions_t fcts;
   char buf[1];
@@ -90,3 +90,6 @@ main (void)
 
   return errors != 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"