dhcpv4: reorder more functions
authorDavid Härdeman <[email protected]>
Thu, 2 Oct 2025 14:11:26 +0000 (16:11 +0200)
committerÁlvaro Fernández Rojas <[email protected]>
Fri, 3 Oct 2025 10:53:11 +0000 (12:53 +0200)
commit65986596a60d0687e397a9e5e3a6540b9e63b607
tree3ce0189fba0ccc218110764a61ef5475d9d1d9aa
parent2bb556ed0dd65cdc736601ea1eb5a84ff0c12f4c
dhcpv4: reorder more functions

Move dhcpv4_setup_interface(), setup_dhcpv4_addresses() and
handle_addrlist_change() towards the end of dhcpv4.c, closer to where they are
actually used, and remove two forward declarations.

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/264
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/dhcpv4.c