summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 20:10:14 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 20:10:14 +0000
commitb7ca7d087dc370a7c0228b020739c8ede40ebb88 (patch)
treefb06d971ad84d55f7a1f64a8b58147e053c64022 /libc/unistd
parent121d3f0fa26162682586580475aa96014fc47c53 (diff)
Convert the rest of users to hidden
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>