about summary refs log tree commit diff
path: root/localedata/tst-leaks.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-leaks.c')
-rw-r--r--localedata/tst-leaks.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/localedata/tst-leaks.c b/localedata/tst-leaks.c
index 7a4b557f59..ccd44f2c62 100644
--- a/localedata/tst-leaks.c
+++ b/localedata/tst-leaks.c
@@ -1,8 +1,8 @@
 #include <locale.h>
 #include <mcheck.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   int cnt;
 
@@ -16,3 +16,6 @@ main (void)
 
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"