]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
unit: remove union Unit
authorMichal Schmidt <mschmidt@redhat.com>
Sun, 15 Jan 2012 11:04:08 +0000 (12:04 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Mon, 16 Jan 2012 12:34:42 +0000 (13:34 +0100)
commitac155bb885f9ea8aac3979a6b2686f0c8a9cc6e3
tree6d78545bae4ffd262ddf4fd71d17ded342c530ca
parent7d17cfbc46306a106dbda0f3e92fbc0792d1e9e9
unit: remove union Unit

Now that objects of all unit types are allocated the exact amount of
memory they need, the Unit union has lost its purpose. Remove it.

"Unit" is a more natural name for the base unit class than "Meta", so
rename Meta to Unit.

Access to members of the base class gets simplified.
44 files changed:
src/automount.c
src/automount.h
src/cgroup.c
src/dbus-automount.c
src/dbus-device.c
src/dbus-job.c
src/dbus-manager.c
src/dbus-mount.c
src/dbus-path.c
src/dbus-service.c
src/dbus-snapshot.c
src/dbus-socket.c
src/dbus-swap.c
src/dbus-timer.c
src/dbus-unit.c
src/dbus-unit.h
src/dbus.c
src/device.c
src/device.h
src/job.c
src/load-dropin.c
src/load-fragment-gperf.gperf.m4
src/load-fragment.c
src/main.c
src/manager.c
src/manager.h
src/mount.c
src/mount.h
src/path.c
src/path.h
src/service.c
src/service.h
src/snapshot.c
src/snapshot.h
src/socket.c
src/socket.h
src/swap.c
src/swap.h
src/target.c
src/target.h
src/timer.c
src/timer.h
src/unit.c
src/unit.h