X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-xmemdup0.c;h=eb93336f7db62de292b1bffa2bf38df553329ff0;hb=fb4a9aa847c5e660adda65e9e2b9752aabfeeaf3;hp=2c2e9d27cb92f49849d7dc1ae1d6d85281c83cda;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/tests/test-xmemdup0.c b/tests/test-xmemdup0.c index 2c2e9d27c..eb93336f7 100644 --- a/tests/test-xmemdup0.c +++ b/tests/test-xmemdup0.c @@ -1,5 +1,5 @@ /* Test of xmemdup0() function. - Copyright (C) 2008-2009 Free Software Foundation, Inc. + Copyright (C) 2008-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 "xmemdup0.h" -#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" int main (int argc, char **argv)