]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-radv.h
tree-wide: port over all code to the new CONFIG_PARSER_PROTOTYPE() macro
authorLennart Poettering <lennart@poettering.net>
Tue, 22 May 2018 11:10:17 +0000 (13:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 22 May 2018 11:18:44 +0000 (13:18 +0200)
commita2106925257945fa2cfc8735fcb49ebcaff609d6
treed3b3968918f8bbf4767c5d77f6ecedacaad9f367
parent1f12b48a730bfbca991d0ae51e3a740d59faf201
tree-wide: port over all code to the new CONFIG_PARSER_PROTOTYPE() macro

This makes most header files easier to look at. Also Emacs gets really
slow when browsing through large sections of overly long prototypes,
which is much improved by this macro.

We should probably not do something similar with too many other cases,
as macros like this might help readability for some, but make it worse
for others. But I think given the complexity of this specific prototype
and how often we use it, it's worth doing.
23 files changed:
src/core/ip-address-access.h
src/core/load-fragment.h
src/journal/journald-server.h
src/libsystemd-network/network-internal.h
src/login/logind-action.h
src/login/logind-user.h
src/login/logind.h
src/network/networkd-address-label.h
src/network/networkd-address.h
src/network/networkd-brvlan.h
src/network/networkd-conf.h
src/network/networkd-fdb.h
src/network/networkd-ipv6-proxy-ndp.h
src/network/networkd-network.h
src/network/networkd-radv.h
src/network/networkd-route.h
src/network/networkd-routing-policy-rule.h
src/network/networkd-util.h
src/nspawn/nspawn-settings.h
src/resolve/resolved-conf.h
src/shared/resolve-util.h
src/shared/vlan-util.h
src/timesync/timesyncd-conf.h