about summary refs log tree commit diff
path: root/misc/tst-mntent2.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tst-mntent2.c')
-rw-r--r--misc/tst-mntent2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/tst-mntent2.c b/misc/tst-mntent2.c
index 6c25e0127c..e61d506cd4 100644
--- a/misc/tst-mntent2.c
+++ b/misc/tst-mntent2.c
@@ -3,8 +3,8 @@
 #include <string.h>
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
   struct mntent mef;
@@ -39,3 +39,6 @@ main (void)
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"