about summary refs log tree commit diff
path: root/posix/tst-getlogin.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-getlogin.c')
-rw-r--r--posix/tst-getlogin.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/posix/tst-getlogin.c b/posix/tst-getlogin.c
index 1393c3a779..141a6996a2 100644
--- a/posix/tst-getlogin.c
+++ b/posix/tst-getlogin.c
@@ -19,8 +19,8 @@
 #include <stdio.h>
 #include <string.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   char *login;
   int errors = 0;
@@ -55,3 +55,6 @@ main (void)
 
   return errors != 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"