X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-inet_pton.c;h=844908c749146fbc7295ceafc539acd86e35eb95;hb=3261e6f0337130c6bbde8db61e28c87bb901d749;hp=b6c3ab2985be11de6e2c8c5dbc86bc5065b428cd;hpb=869437ee513d12716115749f599f32b831f31cbc;p=gnulib.git diff --git a/tests/test-inet_pton.c b/tests/test-inet_pton.c index b6c3ab298..844908c74 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-2012 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)