summaryrefslogtreecommitdiff
path: root/resolv/tst-inet_ntop.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/tst-inet_ntop.c')
-rw-r--r--resolv/tst-inet_ntop.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/resolv/tst-inet_ntop.c b/resolv/tst-inet_ntop.c
index f968ec4dcb..f0de06306c 100644
--- a/resolv/tst-inet_ntop.c
+++ b/resolv/tst-inet_ntop.c
@@ -4,8 +4,8 @@
#include <stdio.h>
#include <string.h>
-int
-main (void)
+static int
+do_test (void)
{
struct in_addr addr4;
struct in6_addr addr6;
@@ -109,3 +109,6 @@ main (void)
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"