X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-fprintf-posix.c;h=f630edc561f2a1c60b07a9a8d3ca3eda366f6b3d;hb=2c35d5c11d2359c7ebb06a3388a544cbe2f9c7f5;hp=be65079e8b9ed09b44a6dceb809a6cb9e45fbd82;hpb=ee5c41a1aaa71b97b9db53568897f2ad7ecf1823;p=gnulib.git diff --git a/tests/test-fprintf-posix.c b/tests/test-fprintf-posix.c index be65079e8..f630edc56 100644 --- a/tests/test-fprintf-posix.c +++ b/tests/test-fprintf-posix.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible fprintf() 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,23 +20,15 @@ #include +#include "signature.h" +SIGNATURE_CHECK (fprintf, int, (FILE *, char const *, ...)); + #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"