* signal.cc (usleep): Use useconds_t for the type as per POSIX.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user