compiler/clib/(u|nano)sleep.c: nanosleep() now uses timer.device and usleep() call...
commit4aab2d3034df8d23b2d995e56874a7aa200c95c3
authorverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 16 Mar 2013 11:34:25 +0000 (16 11:34 +0000)
committerverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 16 Mar 2013 11:34:25 +0000 (16 11:34 +0000)
treefbe43425696f85009bcbab9236571b4b8bc20ee8
parent39482b1ebaadc3988fb9e690c118b798716b2d50
compiler/clib/(u|nano)sleep.c: nanosleep() now uses timer.device and usleep() call nanosleep()

usleep() is not part of POSIX.1-2008 and is moved to the static link lib.
This allows to remove the function in the future without breaking backwards
compatibility.

This patch breaks backwards compatibility for code that used usleep from
the shared library.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@46962 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
compiler/clib/arosc.conf
compiler/clib/mmakefile.src
compiler/clib/nanosleep.c [copied from compiler/clib/usleep.c with 62% similarity]
compiler/clib/usleep.c