dhcp: get rid of last global data
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 26 May 2019 11:05:04 +0000 (13:05 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 26 May 2019 11:05:04 +0000 (13:05 +0200)
commita4ed2c45b905057108e41aceda10c8b7976534ed
treec7b93e7ba4499805f3ebcb5b92a21ca33d6c0770
parentdff2bd733fc2dac08d34f2cfad0e68aeb8e7a7a2
dhcp: get rid of last global data

function                                             old     new   delta
udhcpc_main                                         2680    2684      +4
state                                                  1       -      -1
listen_mode                                            1       -      -1
sockfd                                                 4       -      -4
------------------------------------------------------------------------------
(add/remove: 0/3 grow/shrink: 1/0 up/down: 4/-6)               Total: -2 bytes

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