udhcp: use poll() instead of select()
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 16 Feb 2017 22:25:44 +0000 (23:25 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 16 Feb 2017 22:25:44 +0000 (23:25 +0100)
commit52a515d18724bbb34e3ccbbb0218efcc4eccc0a8
tree16a5a05a328d7e0bd2b4b1bfbcaf543cf8a36d33
parentdc207f669675a271812a21b0ddbe3b894adf8e4c
udhcp: use poll() instead of select()

function                                             old     new   delta
udhcp_sp_read                                         65      46     -19
udhcp_sp_fd_set                                       79      54     -25
udhcpd_main                                         1530    1482     -48
udhcpc_main                                         2780    2730     -50
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-142)           Total: -142 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/common.h
networking/udhcp/d6_dhcpc.c
networking/udhcp/dhcpc.c
networking/udhcp/dhcpd.c
networking/udhcp/signalpipe.c