X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-printf-posix.c;h=d689aab1b2e9e07178ce4f1f84925fd9402356f3;hb=bfbd822767f532ab05e24bda5b67b992f3562321;hp=1960348bf422a672facd2cbf033c0d0d77e1a588;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/tests/test-printf-posix.c b/tests/test-printf-posix.c index 1960348bf..d689aab1b 100644 --- a/tests/test-printf-posix.c +++ b/tests/test-printf-posix.c @@ -1,5 +1,5 @@ -/* Test of POSIX compatible fprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. +/* Test of POSIX compatible printf() function. + 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,22 +20,14 @@ #include +#include "signature.h" +SIGNATURE_CHECK (printf, int, (char const *, ...)); + #include -#include #include -#include #include -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" #include "test-printf-posix.h"