X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-printf-posix.c;h=d689aab1b2e9e07178ce4f1f84925fd9402356f3;hb=5432287a033855c8c7a36f3aa055e0db60fb3383;hp=1fbde2193ddd3bba892a5ad74b7f6a0fcc695ccf;hpb=9b769afcf83c8f4ecd210e4493bf90432250db32;p=gnulib.git diff --git a/tests/test-printf-posix.c b/tests/test-printf-posix.c index 1fbde2193..d689aab1b 100644 --- a/tests/test-printf-posix.c +++ b/tests/test-printf-posix.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible printf() function. - Copyright (C) 2007 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,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"