X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-vdprintf-posix.c;h=9aa90db8de217cc0b995f76284503e27f987a347;hb=1276a2c5f24c0c932426aca9c899fa524d2443f2;hp=175046f848be690ed6371b286e328e0bbaaab4f1;hpb=6534ab3144e593447404c90df8a0d5676f344dd5;p=gnulib.git diff --git a/tests/test-vdprintf-posix.c b/tests/test-vdprintf-posix.c index 175046f84..9aa90db8d 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-2014 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"