about summary refs log tree commit diff
path: root/nss/test-netdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/test-netdb.c')
-rw-r--r--nss/test-netdb.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/nss/test-netdb.c b/nss/test-netdb.c
index 1620b5b173..384f32b8dc 100644
--- a/nss/test-netdb.c
+++ b/nss/test-netdb.c
@@ -356,8 +356,8 @@ setdb (const char *dbname)
 }
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   /*
     setdb ("db");
@@ -376,3 +376,6 @@ main (void)
 
   return (error_count != 0);
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"