X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-c-stack.c;h=0b77fbfbe646aaa390042ec20664d81dbecacc73;hb=a01b938c7f0c8e406c82d07cb921bf6c3c1e29df;hp=b5ff6be65032d007311afee7713dd181b9910aa1;hpb=2d4d7d9d00fe33b6f5291e00a30b6c1016775b74;p=gnulib.git diff --git a/tests/test-c-stack.c b/tests/test-c-stack.c index b5ff6be65..0b77fbfbe 100644 --- a/tests/test-c-stack.c +++ b/tests/test-c-stack.c @@ -1,5 +1,5 @@ /* Test of c-stack module. - Copyright (C) 2002, 2004, 2006, 2008 Free Software Foundation, Inc. + Copyright (C) 2002, 2004, 2006, 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 @@ -20,7 +20,6 @@ #include "exitfail.h" #include -#include #if HAVE_SETRLIMIT /* At least FreeBSD 5.0 needs extra headers before will compile. */ @@ -29,17 +28,7 @@ # include #endif -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" char *program_name;