chiark / gitweb /
list: make our list macros a bit easier to use by not requring type spec on each...
authorLennart Poettering <lennart@poettering.net>
Mon, 14 Oct 2013 04:10:14 +0000 (06:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 14 Oct 2013 04:11:19 +0000 (06:11 +0200)
commit71fda00f320379f5cbee8e118848de98caaa229d
tree00a913086d70abadb1185e1343d97df860b0d612
parent14bf2c9d375db6a4670bc0ef0e521e35a939a498
list: make our list macros a bit easier to use by not requring type spec on each invocation

We can determine the list entry type via the typeof() gcc construct, and
so we should to make the macros much shorter to use.
38 files changed:
TODO
src/bootchart/bootchart.c
src/bootchart/svg.c
src/core/cgroup.c
src/core/dbus-cgroup.c
src/core/dbus-job.c
src/core/dbus-unit.c
src/core/dbus.c
src/core/device.c
src/core/execute.c
src/core/job.c
src/core/load-fragment.c
src/core/manager.c
src/core/path.c
src/core/socket.c
src/core/swap.c
src/core/timer.c
src/core/transaction.c
src/core/umount.c
src/core/unit.c
src/initctl/initctl.c
src/journal/journald-rate-limit.c
src/journal/journald-stream.c
src/journal/mmap-cache.c
src/journal/sd-journal.c
src/libsystemd-bus/bus-objects.c
src/libsystemd-bus/sd-bus.c
src/login/logind-device.c
src/login/logind-seat.c
src/login/logind-session-device.c
src/login/logind-session.c
src/login/logind-user.c
src/login/logind.c
src/machine/machine.c
src/machine/machined.c
src/shared/list.h
src/systemctl/systemctl.c
src/test/test-list.c