aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-05-12 23:03:18 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-05-12 23:03:18 +0200
commit89f5bfd6c38cf76823b49628b09b4cd7b1ecb301 (patch)
tree17397d9091ed043c6841f80ce9d0cb87e1422145 /include/libbb.h
parent279a7ac04ee3e1e1597f46e144fa6da2dac90541 (diff)
downloadbusybox-w32-89f5bfd6c38cf76823b49628b09b4cd7b1ecb301.tar.gz
busybox-w32-89f5bfd6c38cf76823b49628b09b4cd7b1ecb301.tar.bz2
busybox-w32-89f5bfd6c38cf76823b49628b09b4cd7b1ecb301.zip
libbb.h: use inlined sigfillset, sigemptyset, sigisemptyset on uclibc
text data bss dec hex filename 875879 493 7584 883956 d7cf4 busybox_old 875879 493 7584 883956 d7cf4 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 56dfa61b7..4232c38f4 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -20,6 +20,12 @@
20#include <netdb.h> 20#include <netdb.h>
21#include <setjmp.h> 21#include <setjmp.h>
22#include <signal.h> 22#include <signal.h>
23#if defined __UCLIBC__ /* TODO: and glibc? */
24/* use inlined versions of these: */
25# define sigfillset(s) __sigfillset(s)
26# define sigemptyset(s) __sigemptyset(s)
27# define sigisemptyset(s) __sigisemptyset(s)
28#endif
23#include <stdint.h> 29#include <stdint.h>
24#include <stdio.h> 30#include <stdio.h>
25#include <stdlib.h> 31#include <stdlib.h>