Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2007-06-13 00:49:48 +0400
committerChristopher Faylor <me@cgf.cx>2007-06-13 00:49:48 +0400
commitecd5f070c82505d6450937b4494c65d9fd4a0fc9 (patch)
tree2e5aff56d95b3b8c9131d48a3e44917e9e727d3f /winsup/cygwin/signal.cc
parentead5b131e0755ed69f0b67def2fa8c8fefca5d55 (diff)
* signal.cc (usleep): Use useconds_t for the type as per POSIX.
Diffstat (limited to 'winsup/cygwin/signal.cc')
-rw-r--r--winsup/cygwin/signal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc
index 575c46c53..3765cff26 100644
--- a/winsup/cygwin/signal.cc
+++ b/winsup/cygwin/signal.cc
@@ -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;