about summary refs log tree commit diff
path: root/inet/tst-network.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/tst-network.c')
-rw-r--r--inet/tst-network.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/inet/tst-network.c b/inet/tst-network.c
index fc90bd7245..cc840e0d46 100644
--- a/inet/tst-network.c
+++ b/inet/tst-network.c
@@ -51,8 +51,8 @@ struct
 };
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   int errors = 0;
   size_t i;
@@ -76,3 +76,6 @@ main (void)
 
   return errors != 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"