diff options
author | Denys Vlasenko | 2021-06-03 16:14:04 +0200 |
---|---|---|
committer | Denys Vlasenko | 2021-06-03 16:14:04 +0200 |
commit | f6def87a2e73e65fb6743cb5b6d0592b390628e5 (patch) | |
tree | 40963f11d21645cc84f0db78f401e673a4f3a458 /networking/udhcp/d6_dhcpc.c | |
parent | 2f1d13d56aecc622366f717932929db5f0b8b35b (diff) | |
download | busybox-f6def87a2e73e65fb6743cb5b6d0592b390628e5.zip busybox-f6def87a2e73e65fb6743cb5b6d0592b390628e5.tar.gz |
udhcpc: code shrink, rename functions, no logic changes
function old new delta
d4_run_script - 739 +739
d4_recv_raw_packet - 484 +484
d4_run_script_deconfig - 12 +12
perform_release 207 200 -7
udhcpc_main 2598 2556 -42
udhcp_recv_raw_packet 484 - -484
udhcp_run_script 739 - -739
------------------------------------------------------------------------------
(add/remove: 3/2 grow/shrink: 0/2 up/down: 1235/-1272) Total: -37 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/d6_dhcpc.c')
-rw-r--r-- | networking/udhcp/d6_dhcpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c index 276ceca..1a58f5f 100644 --- a/networking/udhcp/d6_dhcpc.c +++ b/networking/udhcp/d6_dhcpc.c @@ -441,7 +441,7 @@ static char **fill_envp(const uint8_t *option, const uint8_t *option_end) return envp; } -/* Call a script with a par file and env vars */ +/* Call a script with env vars */ static void d6_run_script(const uint8_t *option, const uint8_t *option_end, const char *name) { @@ -464,7 +464,7 @@ static void d6_run_script(const uint8_t *option, const uint8_t *option_end, free(envp); } -/* Call a script with a par file and no env var */ +/* Call a script with no env var */ static void d6_run_script_no_option(const char *name) { d6_run_script(NULL, NULL, name); |