X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-getdtablesize.c;h=fcf220b2ac4ae322fdefd8be4f989fe6098c0686;hb=dd91a295844a6e89ce67087164ea0f2e979b4b70;hp=db77534c5bd250e3e205677641679ce399e0feaa;hpb=6db18f0c2c7334cc03a498296f4cd6ea67430efb;p=gnulib.git diff --git a/tests/test-getdtablesize.c b/tests/test-getdtablesize.c index db77534c5..fcf220b2a 100644 --- a/tests/test-getdtablesize.c +++ b/tests/test-getdtablesize.c @@ -1,5 +1,5 @@ /* Test of getdtablesize() function. - Copyright (C) 2008 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 @@ -20,20 +20,10 @@ #include -#include -#include - -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) +#include "signature.h" +SIGNATURE_CHECK (getdtablesize, int, (void)); + +#include "macros.h" int main (int argc, char *argv[])