X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-fprintf-posix.c;h=f630edc561f2a1c60b07a9a8d3ca3eda366f6b3d;hb=b4e5a5f11bd67ce5435b5ecf43b7fb6a81ba62a0;hp=12e57fe274fdcfaa785df51ffb9891594c0baaeb;hpb=e220635fc952c63b533873f2af39ec76aed4b4e3;p=gnulib.git diff --git a/tests/test-fprintf-posix.c b/tests/test-fprintf-posix.c index 12e57fe27..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,24 +20,15 @@ #include +#include "signature.h" +SIGNATURE_CHECK (fprintf, int, (FILE *, char const *, ...)); + #include #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"