about summary refs log tree commit diff
path: root/inet/tst-ntoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/tst-ntoa.c')
-rw-r--r--inet/tst-ntoa.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/inet/tst-ntoa.c b/inet/tst-ntoa.c
index 9be91eb511..ef82d4d537 100644
--- a/inet/tst-ntoa.c
+++ b/inet/tst-ntoa.c
@@ -22,8 +22,8 @@ test (unsigned int inaddr, const char *expected)
 }
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
 
@@ -34,3 +34,6 @@ main (void)
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"