X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-nanosleep.c;h=82dd7325677477164b7fbd3af0cd20a9e0c34fb6;hb=17857d41b41e7b22ba58e4e0d98693ee14f022d4;hp=797c8beb7e235a7f91b7684e5fca5eb111f2d2cc;hpb=0ec2d84a78d910ecc2dc4090f340519607819cda;p=gnulib.git diff --git a/tests/test-nanosleep.c b/tests/test-nanosleep.c index 797c8beb7..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 @@ -25,23 +25,10 @@ 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