diff options
Diffstat (limited to 'inet/tst-gethnm.c')
-rw-r--r-- | inet/tst-gethnm.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/inet/tst-gethnm.c b/inet/tst-gethnm.c index 8af44d66a1..dd3a547811 100644 --- a/inet/tst-gethnm.c +++ b/inet/tst-gethnm.c @@ -10,8 +10,8 @@ #include <netinet/in.h> #include <arpa/inet.h> -int -main (void) +static int +do_test (void) { struct hostent *ent; struct in_addr hostaddr; @@ -62,3 +62,6 @@ main (void) return result; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |