X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-xvasprintf.c;h=df6c2009de63c5571a18bc96ecb133c66bde1fde;hb=41d7de2bc881ddb3ce8a8a40552724ebb893108a;hp=eb230dbb26a139a2157f24ff005558b386cb2e91;hpb=169ab5dec0e562548959482e3ff63c96c340e0d1;p=gnulib.git diff --git a/tests/test-xvasprintf.c b/tests/test-xvasprintf.c index eb230dbb2..df6c2009d 100644 --- a/tests/test-xvasprintf.c +++ b/tests/test-xvasprintf.c @@ -1,5 +1,5 @@ /* Test of xvasprintf() and xasprintf() functions. - Copyright (C) 2007-2009 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 @@ -21,23 +21,11 @@ #include "xvasprintf.h" #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" static char * my_xasprintf (const char *format, ...)