]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-radv.c
network: radv: reorder functions
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 Sep 2021 11:54:47 +0000 (20:54 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 6 Oct 2021 16:02:59 +0000 (01:02 +0900)
commit0943b3b7a413dc8b05cc41627754c77257f1f8ac
treeab3ad9eac2367f3dfa1833306e91c445a47d1c0a
parent9a1ddc8dee1be2623cdd3736f4f951938e588e3d
network: radv: reorder functions

In other files, we usually (but not always) place functions in the following order:
- network_adjust_xxx(), which applies default or updates settings
  specified in .network files,
- link_xxx_enabled(), which checks if the functionality is enabled,
- xxx_new() and xxx_free(), allocator and deallocator for sections,
- functions which apply/update/remove configs
- validators of section,
- conf parsers.

This does not change each function, but just changes the order.
src/network/networkd-radv.c