X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=tests%2Ftest-inet_ntop.c;h=1a916e5ed068cbf055cf4a8fd39a21b49f063194;hb=69770559f5bf198928150ac8162734d7f6b99c82;hp=71ba5c31ef68457c974f7764e0b51424a821eea6;hpb=a3bc66287a9a298bfc5dd6595e13bad2e08dd8f0;p=gnulib.git diff --git a/tests/test-inet_ntop.c b/tests/test-inet_ntop.c index 71ba5c31e..1a916e5ed 100644 --- a/tests/test-inet_ntop.c +++ b/tests/test-inet_ntop.c @@ -1,5 +1,5 @@ /* Test of inet_ntop function. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,23 +20,15 @@ #include +#include "signature.h" +SIGNATURE_CHECK (inet_ntop, char const *, (int, void const *, char *, + socklen_t)); + #include #include -#include -#include #include -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" int main (void)