X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-nanosleep.c;h=0b62ae6bcb9aa118b91fcd551b64c836bafd037c;hb=23eecb48e39afd0d267d64d40ba6bf97aa865e13;hp=e4e7231640a13f8c0940ca6bbc74c6f2acf628d3;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-nanosleep.c b/tests/test-nanosleep.c index e4e723164..0b62ae6bc 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-2013 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 @@ -21,27 +21,13 @@ #include #include "signature.h" -SIGNATURE_CHECK (nanosleep, int, (struct timespec const *, struct timepec *)); +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