X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-inet_pton.c;h=e8e1fb2654566b0427624f0249a1d58c533b0862;hb=d93e239a6a447bb45b77121739015760aad15584;hp=dc6401e1fabe859a3d90567fe85aad70cb7c5f27;hpb=a562f3635a01ccc315d964f115b7c256a94a44b6;p=gnulib.git diff --git a/tests/test-inet_pton.c b/tests/test-inet_pton.c index dc6401e1f..e8e1fb265 100644 --- a/tests/test-inet_pton.c +++ b/tests/test-inet_pton.c @@ -1,5 +1,5 @@ /* Test of inet_pton 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,22 +20,13 @@ #include +#include "signature.h" +SIGNATURE_CHECK (inet_pton, int, (int, const char *, void *)); + #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)