X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-printf-posix.c;h=d689aab1b2e9e07178ce4f1f84925fd9402356f3;hb=5c92acef552620a440dc134faf6d1f7fd14f825f;hp=51f1bf787014ebee94097c03f97e6c8adc93737b;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/tests/test-printf-posix.c b/tests/test-printf-posix.c index 51f1bf787..d689aab1b 100644 --- a/tests/test-printf-posix.c +++ b/tests/test-printf-posix.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible printf() function. - Copyright (C) 2007-2008 Free Software Foundation, Inc. + Copyright (C) 2007-2010 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,14 @@ #include +#include "signature.h" +SIGNATURE_CHECK (printf, int, (char const *, ...)); + #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" #include "test-printf-posix.h"