]> err.no Git - systemd/commit
unit: use the UNIT() macro consistently
authorMichal Schmidt <mschmidt@redhat.com>
Sun, 15 Jan 2012 11:25:20 +0000 (12:25 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Mon, 16 Jan 2012 12:34:42 +0000 (13:34 +0100)
commit1124fe6f01b1d59d016c238026f20380f38d98dc
tree15cf55a860c5b1faabb7c09eeb8fea0e138a08c1
parentac155bb885f9ea8aac3979a6b2686f0c8a9cc6e3
unit: use the UNIT() macro consistently

The UNIT() macro upcasts from specific unit types to the base Unit.
Use it everywhere, rather than accessing the 'meta' member directly.
src/automount.c
src/device.c
src/load-fragment.c
src/mount.c
src/path.c
src/service.c
src/snapshot.c
src/socket.c
src/swap.c
src/target.c
src/timer.c