about summary refs log tree commit diff
path: root/pwd/tst-getpw.c
diff options
context:
space:
mode:
Diffstat (limited to 'pwd/tst-getpw.c')
-rw-r--r--pwd/tst-getpw.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/pwd/tst-getpw.c b/pwd/tst-getpw.c
index 7875af9571..7a2b9a31f4 100644
--- a/pwd/tst-getpw.c
+++ b/pwd/tst-getpw.c
@@ -25,8 +25,8 @@ check (uid_t uid)
   (void) getpw (uid, buf);
 }
 
-int
-main (void)
+static int
+do_test (void)
 {
   uid_t uid;
 
@@ -38,3 +38,6 @@ main (void)
 
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"