X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-printf-posix.c;h=9337854b4ddd6ad4f7ad0bb358c98ca182088a8b;hb=f462d86108d41b1ca0f48b51caad6c696d67d8fd;hp=c09b1883fd861827a763ab2c4233a3de0c09237d;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-printf-posix.c b/tests/test-printf-posix.c index c09b1883f..9337854b4 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-2009 Free Software Foundation, Inc. + Copyright (C) 2007-2011 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 @@ -25,20 +25,9 @@ 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"