diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-28 19:35:34 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-28 19:35:34 +0000 |
commit | b308d81e927d28cb0223378049defc133787727d (patch) | |
tree | cfbf133ee5fd42014250d233a7e4e3f0a76bf9ac /include | |
parent | 7d8de4d55dbc140ea0dc0131bb0647f9632cc7e9 (diff) | |
download | busybox-b308d81e927d28cb0223378049defc133787727d.tar.gz |
top: use poll instead of select for waiting on one descriptor
smart_ulltoa5: make it more cryptic. -50 bytes.
function old new delta
passwd_main 1095 1103 +8
getNum 557 565 +8
buffer_fill_and_print 73 76 +3
udhcpc_main 2393 2395 +2
mkfs_minix_main 3071 3070 -1
dname_enc 377 373 -4
expmeta 480 472 -8
smart_ulltoa5 334 283 -51
top_main 911 815 -96
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/5 up/down: 21/-160) Total: -139 bytes
text data bss dec hex filename
770872 1063 10788 782723 bf183 busybox_old
770732 1063 10788 782583 bf0f7 busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 89a1695fa..678c56109 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -27,6 +27,7 @@ #include <stddef.h> #include <string.h> /* #include <strings.h> - said to be obsolete */ +#include <sys/poll.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/socket.h> |