summaryrefslogtreecommitdiffstats
path: root/libc/unistd/usleep.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 20:57:40 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 20:57:40 +0200
commit21730caa6647f645974e132ca8afec79b4eeab2b (patch)
tree6c0a0e491526f19ab08062d7f22448ac60ca4bf5 /libc/unistd/usleep.c
parent35c8387f6d3dd3d901bdc9bb7eb1c681cd1b2c0d (diff)
downloaduClibc-alpine-21730caa6647f645974e132ca8afec79b4eeab2b.tar.bz2
uClibc-alpine-21730caa6647f645974e132ca8afec79b4eeab2b.tar.xz
trim Experimentally off and uncommented hidden
sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/unistd/usleep.c')
-rw-r--r--libc/unistd/usleep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/unistd/usleep.c b/libc/unistd/usleep.c
index daeda0982..61ddb900a 100644
--- a/libc/unistd/usleep.c
+++ b/libc/unistd/usleep.c
@@ -11,7 +11,6 @@
#if defined __USE_BSD || defined __USE_POSIX98
#if defined __UCLIBC_HAS_REALTIME__
-/*libc_hidden_proto(nanosleep) need the reloc for cancellation*/
int usleep (__useconds_t usec)
{
@@ -22,7 +21,6 @@ int usleep (__useconds_t usec)
return(nanosleep(&ts, NULL));
}
#else /* __UCLIBC_HAS_REALTIME__ */
-/* libc_hidden_proto(select) */
int usleep (__useconds_t usec)
{
struct timeval tv;