diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-05-26 13:05:04 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-05-26 13:05:04 +0200 |
commit | a4ed2c45b905057108e41aceda10c8b7976534ed (patch) | |
tree | c7b93e7ba4499805f3ebcb5b92a21ca33d6c0770 /networking/udhcp/dhcpc.h | |
parent | dff2bd733fc2dac08d34f2cfad0e68aeb8e7a7a2 (diff) | |
download | busybox-w32-a4ed2c45b905057108e41aceda10c8b7976534ed.tar.gz busybox-w32-a4ed2c45b905057108e41aceda10c8b7976534ed.tar.bz2 busybox-w32-a4ed2c45b905057108e41aceda10c8b7976534ed.zip |
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>
Diffstat (limited to 'networking/udhcp/dhcpc.h')
-rw-r--r-- | networking/udhcp/dhcpc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h index 7fdbc9a6c..2618b12b5 100644 --- a/networking/udhcp/dhcpc.h +++ b/networking/udhcp/dhcpc.h | |||
@@ -24,6 +24,10 @@ struct client_config_t { | |||
24 | 24 | ||
25 | uint16_t first_secs; | 25 | uint16_t first_secs; |
26 | uint16_t last_secs; | 26 | uint16_t last_secs; |
27 | |||
28 | int sockfd; | ||
29 | smallint listen_mode; | ||
30 | smallint state; | ||
27 | } FIX_ALIASING; | 31 | } FIX_ALIASING; |
28 | 32 | ||
29 | /* server_config sits in 1st half of bb_common_bufsiz1 */ | 33 | /* server_config sits in 1st half of bb_common_bufsiz1 */ |