]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-bus/bus-socket.c
util: introduce CMSG_FOREACH() macro and make use of it everywhere 147/head
authorLennart Poettering <lennart@poettering.net>
Wed, 10 Jun 2015 17:10:47 +0000 (19:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 10 Jun 2015 17:29:47 +0000 (19:29 +0200)
commit2a1288ff89322a2f49c79f6d1832c8164c14a05c
tree02cc41ade7b814d258b183c0ac88670163194913
parent5410b2ed62289d8ab6575e64951ac7b6bda51d40
util: introduce CMSG_FOREACH() macro and make use of it everywhere

It's only marginally shorter then the usual for() loop, but certainly
more readable.
15 files changed:
src/core/manager.c
src/core/namespace.c
src/import/importd.c
src/journal/journald-server.c
src/libsystemd-network/sd-dhcp-client.c
src/libsystemd-network/sd-dhcp-server.c
src/libsystemd/sd-bus/bus-container.c
src/libsystemd/sd-bus/bus-socket.c
src/libsystemd/sd-rtnl/rtnl-message.c
src/resolve/resolved-dns-stream.c
src/resolve/resolved-manager.c
src/shared/macro.h
src/shared/util.c
src/timesync/timesyncd-manager.c
src/udev/udevd.c