summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-10-22 17:01:05 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-10-22 17:01:05 +0200
commit162cfaea20d807f0ae329efe39292a9b22593b41 (patch)
tree4f2d5ac60a263551b4352b5bbb5ab8cbe7d60a3e /libc/unistd
parent4bbf7dfe44bb83391b12ac94ca478df71fcf3dd7 (diff)
*: inline constant __sig{add,del}set and __sigismember
text data bss dec hex filename - 318 4 0 322 142 libc/pwd_grp/lckpwdf.o + 312 4 0 316 13c libc/pwd_grp/lckpwdf.o - 166 0 1 167 a7 libc/stdlib/abort.o + 157 0 1 158 9e libc/stdlib/abort.o - 42 0 0 42 2a libc/sysdeps/linux/common/pause.o + 27 0 0 27 1b libc/sysdeps/linux/common/pause.o Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'libc/unistd')
-rw-r--r--libc/unistd/sleep.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libc/unistd/sleep.c b/libc/unistd/sleep.c
index 6a237e3f9..c4b8a4812 100644
--- a/libc/unistd/sleep.c
+++ b/libc/unistd/sleep.c
@@ -20,14 +20,8 @@
#include <errno.h>
#include <time.h>
-#include <unistd.h>
-/* Want fast and small __sigemptyset/__sigaddset/__sigismember: */
-/* TODO: make them available (to everybody) without this hack */
-#ifndef __USE_EXTERN_INLINES
-# define __USE_EXTERN_INLINES 1
-#endif
#include <signal.h>
-
+#include <unistd.h>
/* version perusing nanosleep */