From: Abhijit Menon-Sen Date: Fri, 20 Jul 2001 01:18:50 +0000 (+0530) Subject: prototype for Time::HiRes::sleep() X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=89c2f7cbcc960bf1630f8a2a4ce72ebfb5bd6feb;p=p5sagit%2Fp5-mst-13.2.git prototype for Time::HiRes::sleep() Message-Id: <20010720011850.A19650@lustre.dyn.wiw.org> (Private e-mail) p4raw-id: //depot/perl@11414 --- diff --git a/ext/Time/HiRes/HiRes.xs b/ext/Time/HiRes/HiRes.xs index 77ce9e2..4087455 100644 --- a/ext/Time/HiRes/HiRes.xs +++ b/ext/Time/HiRes/HiRes.xs @@ -277,6 +277,7 @@ usleep(useconds) void sleep(...) + PROTOTYPE: ;$ CODE: if (items > 0) usleep((int)(SvNV(ST(0)) * 1000000));