summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd')
-rw-r--r--libc/unistd/sleep.c5
-rw-r--r--libc/unistd/usleep.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/libc/unistd/sleep.c b/libc/unistd/sleep.c
index 5d129bd81..03e43f43b 100644
--- a/libc/unistd/sleep.c
+++ b/libc/unistd/sleep.c
@@ -18,7 +18,8 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define sigaction __sigaction_internal
+#define sigaction __sigaction
+#define nanosleep __nanosleep
#include <errno.h>
#include <time.h>
@@ -107,4 +108,4 @@ unsigned int attribute_hidden __sleep (unsigned int seconds)
return result;
}
#endif
-strong_alias(__sleep,sleep)
+weak_alias(__sleep,sleep)
diff --git a/libc/unistd/usleep.c b/libc/unistd/usleep.c
index 55e8f3fb7..db8b8710c 100644
--- a/libc/unistd/usleep.c
+++ b/libc/unistd/usleep.c
@@ -1,3 +1,5 @@
+#define nanosleep __nanosleep
+
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>