diff options
Diffstat (limited to 'inet/tst-ntoa.c')
-rw-r--r-- | inet/tst-ntoa.c | 7 |
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" |