From 60bf77f7e7c4513a781e9acc1b9bca64c4051140 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 14 Apr 2019 17:01:10 +0200 Subject: udhcpc6: code shrink function old new delta d6_read_interface 593 582 -11 Signed-off-by: Denys Vlasenko --- networking/udhcp/d6_dhcpc.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'networking/udhcp/d6_dhcpc.c') 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) return xmemdup(opt, opt[3] + 4); } - /*** Script execution code ***/ static char** new_env(void) @@ -902,7 +901,6 @@ static NOINLINE int d6_recv_raw_packet(struct in6_addr *peer_ipv6, struct d6_pac return bytes; } - /*** Main ***/ static int sockfd = -1; @@ -1146,7 +1144,6 @@ static void client_background(void) //usage: "\n USR1 Renew lease" //usage: "\n USR2 Release lease" - int udhcpc6_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int udhcpc6_main(int argc UNUSED_PARAM, char **argv) { -- cgit v1.2.3