X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-getdtablesize.c;h=fcf220b2ac4ae322fdefd8be4f989fe6098c0686;hb=dd91a295844a6e89ce67087164ea0f2e979b4b70;hp=e587aa13decc1fcc3cf0cc93b5d4872a8cd0679d;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-getdtablesize.c b/tests/test-getdtablesize.c index e587aa13d..fcf220b2a 100644 --- a/tests/test-getdtablesize.c +++ b/tests/test-getdtablesize.c @@ -1,5 +1,5 @@ /* Test of getdtablesize() function. - Copyright (C) 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2008-2012 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 @@ -23,20 +23,7 @@ #include "signature.h" SIGNATURE_CHECK (getdtablesize, int, (void)); -#include -#include - -#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[])