X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-nanosleep.c;h=b775b85d231ace9d96e9fdab08d6361e5f88db2f;hb=1276a2c5f24c0c932426aca9c899fa524d2443f2;hp=797c8beb7e235a7f91b7684e5fca5eb111f2d2cc;hpb=0ec2d84a78d910ecc2dc4090f340519607819cda;p=gnulib.git diff --git a/tests/test-nanosleep.c b/tests/test-nanosleep.c index 797c8beb7..b775b85d2 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-2014 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,9 @@ 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