X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-vdprintf-posix.c;h=2015958c40660a3db3b2eddd39ffc36534bb2f6a;hb=07809063056aef043ba738ab8229042f1ffc9659;hp=175046f848be690ed6371b286e328e0bbaaab4f1;hpb=6534ab3144e593447404c90df8a0d5676f344dd5;p=gnulib.git diff --git a/tests/test-vdprintf-posix.c b/tests/test-vdprintf-posix.c index 175046f84..2015958c4 100644 --- a/tests/test-vdprintf-posix.c +++ b/tests/test-vdprintf-posix.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible vdprintf() 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 @@ -20,23 +20,15 @@ #include +#include "signature.h" +SIGNATURE_CHECK (vdprintf, int, (int, char const *, va_list)); + #include #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-fprintf-posix.h"