summaryrefslogtreecommitdiff
path: root/libc/unistd/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/sleep.c')
-rw-r--r--libc/unistd/sleep.c5
1 files changed, 3 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)