* signal.cc (usleep): Use useconds_t for the type as per POSIX.

This commit is contained in:
Christopher Faylor 2007-06-12 20:49:48 +00:00
parent ead5b131e0
commit ecd5f070c8
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-06-12 Christopher Faylor <me+cygwin@cgf.cx>
* signal.cc (usleep): Use useconds_t for the type as per POSIX.
2007-06-12 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (DLL_OFILES): Add xsique.o.

View File

@ -135,7 +135,7 @@ sleep (unsigned int seconds)
}
extern "C" unsigned int
usleep (unsigned int useconds)
usleep (useconds_t useconds)
{
struct timespec req;
req.tv_sec = useconds / 1000000;