X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-dprintf-posix.c;h=34b54919388fdd11dd7115f67599a8b8b67fd27b;hb=a39d56cfe7d904b61aba940b20de06b94b6a60f8;hp=9cedc1c62a1c5ef301451f593e94ab1e5b03f12f;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-dprintf-posix.c b/tests/test-dprintf-posix.c index 9cedc1c62..34b549193 100644 --- a/tests/test-dprintf-posix.c +++ b/tests/test-dprintf-posix.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible dprintf() 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 (dprintf, int, (int, const char *, ...)); #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" static void test_function (int (*my_dprintf) (int, const char *, ...))