X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-sleep.c;h=6878ccf57dd24f14d3ddaa389d756cd853d3fd0e;hb=d66478297fa398b1358bbd8b56b1b34e7fef5415;hp=8840142ac9d8d1b8a20c36741056bd807b107f3c;hpb=b72fe29b144b3cc850cd0fb39a7de10a011e35cb;p=gnulib.git diff --git a/tests/test-sleep.c b/tests/test-sleep.c index 8840142ac..6878ccf57 100644 --- a/tests/test-sleep.c +++ b/tests/test-sleep.c @@ -1,5 +1,5 @@ /* Test of sleep() function. - 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 @@ -20,21 +20,12 @@ #include +#include "signature.h" +SIGNATURE_CHECK (sleep, unsigned int, (unsigned int)); + #include -#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" #if HAVE_DECL_ALARM static void