aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/d6_dhcpc.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-04-14 17:01:10 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-04-14 17:01:10 +0200
commit60bf77f7e7c4513a781e9acc1b9bca64c4051140 (patch)
tree4793854ad401664a10c9bc12f5c371b417fb5712 /networking/udhcp/d6_dhcpc.c
parent0d75e8b7973353f1d034b97bebfd4d2c13a9f5d6 (diff)
downloadbusybox-w32-60bf77f7e7c4513a781e9acc1b9bca64c4051140.tar.gz
busybox-w32-60bf77f7e7c4513a781e9acc1b9bca64c4051140.tar.bz2
busybox-w32-60bf77f7e7c4513a781e9acc1b9bca64c4051140.zip
udhcpc6: code shrink
function old new delta d6_read_interface 593 582 -11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/d6_dhcpc.c')
-rw-r--r--networking/udhcp/d6_dhcpc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c
index 112f12df2..3562988fd 100644
--- a/networking/udhcp/d6_dhcpc.c
+++ b/networking/udhcp/d6_dhcpc.c
@@ -204,7 +204,6 @@ static void *d6_copy_option(uint8_t *option, uint8_t *option_end, unsigned code)
204 return xmemdup(opt, opt[3] + 4); 204 return xmemdup(opt, opt[3] + 4);
205} 205}
206 206
207
208/*** Script execution code ***/ 207/*** Script execution code ***/
209 208
210static char** new_env(void) 209static char** new_env(void)
@@ -902,7 +901,6 @@ static NOINLINE int d6_recv_raw_packet(struct in6_addr *peer_ipv6, struct d6_pac
902 return bytes; 901 return bytes;
903} 902}
904 903
905
906/*** Main ***/ 904/*** Main ***/
907 905
908static int sockfd = -1; 906static int sockfd = -1;
@@ -1146,7 +1144,6 @@ static void client_background(void)
1146//usage: "\n USR1 Renew lease" 1144//usage: "\n USR1 Renew lease"
1147//usage: "\n USR2 Release lease" 1145//usage: "\n USR2 Release lease"
1148 1146
1149
1150int udhcpc6_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 1147int udhcpc6_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
1151int udhcpc6_main(int argc UNUSED_PARAM, char **argv) 1148int udhcpc6_main(int argc UNUSED_PARAM, char **argv)
1152{ 1149{