X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-xfprintf-posix.c;h=dcf8a92ac8c32e4fa0fb8b902e60262cdf36a174;hb=a77413333408e54b8d6c4e19918098794cef4b4b;hp=b001f04267c41e04909314afe433d4bfc1551141;hpb=b7be78fd0c455acefbdf32618c2f6488915c1a33;p=gnulib.git diff --git a/tests/test-xfprintf-posix.c b/tests/test-xfprintf-posix.c index b001f0426..dcf8a92ac 100644 --- a/tests/test-xfprintf-posix.c +++ b/tests/test-xfprintf-posix.c @@ -1,5 +1,5 @@ /* Test of error-checking xfprintf() function with POSIX compatible formatting. - Copyright (C) 2007-2009 Free Software Foundation, Inc. + Copyright (C) 2007-2013 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 @@ -22,29 +22,16 @@ #include #include -#include #include -#include #include #include "progname.h" - -#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" int -main (int argc _UNUSED_PARAMETER_, char *argv[]) +main (int argc _GL_UNUSED, char *argv[]) { set_program_name (argv[0]);