X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-nanosleep.c;h=82dd7325677477164b7fbd3af0cd20a9e0c34fb6;hb=5d8fde12eeff4659e84a839851125b98eb477200;hp=426ea999f13048b78537c496c345763ac40421e9;hpb=b72fe29b144b3cc850cd0fb39a7de10a011e35cb;p=gnulib.git diff --git a/tests/test-nanosleep.c b/tests/test-nanosleep.c index 426ea999f..82dd73256 100644 --- a/tests/test-nanosleep.c +++ b/tests/test-nanosleep.c @@ -1,5 +1,5 @@ /* Test of nanosleep() function. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2011 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,25 +20,15 @@ #include +#include "signature.h" +SIGNATURE_CHECK (nanosleep, int, (struct timespec const *, struct timespec *)); + #include #include -#include -#include #include #include "intprops.h" - -#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