From a4ed2c45b905057108e41aceda10c8b7976534ed Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 26 May 2019 13:05:04 +0200 Subject: 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 --- networking/udhcp/dhcpc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'networking/udhcp/dhcpc.h') 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 { uint16_t first_secs; uint16_t last_secs; + + int sockfd; + smallint listen_mode; + smallint state; } FIX_ALIASING; /* server_config sits in 1st half of bb_common_bufsiz1 */ -- cgit v1.2.3