X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-usleep.c;h=38c8cdc0d743dde61dc28867b3c8b91cd555e138;hb=b187ff0528e2a081392a834e684d1d0c161708a7;hp=d6e62ebe4d4447f4bb142c326d3654dafc699af4;hpb=e8eecfd3f7d37692a7b87779b69d6fdc22d88d4d;p=gnulib.git diff --git a/tests/test-usleep.c b/tests/test-usleep.c index d6e62ebe4..38c8cdc0d 100644 --- a/tests/test-usleep.c +++ b/tests/test-usleep.c @@ -1,5 +1,5 @@ /* Test of usleep() function. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 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 -#include +#include "signature.h" +SIGNATURE_CHECK (usleep, int, (useconds_t)); + #include -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" int main(void)