diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-26 21:39:06 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-26 21:39:06 +0100 |
commit | 87f0e418cf2c58b3201d06a60e3696ec672d2662 (patch) | |
tree | a27ef34fdf69505d983852d36d200b6e590726df /snapshot.c | |
parent | fd79db6a5df0f94c48736ce5aa0131d6ab108fb0 (diff) |
s/name/unit
Diffstat (limited to 'snapshot.c')
-rw-r--r-- | snapshot.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/snapshot.c b/snapshot.c index 8fd819e2a9..3e55075269 100644 --- a/snapshot.c +++ b/snapshot.c @@ -1,21 +1,21 @@ /*-*- Mode: C; c-basic-offset: 8 -*-*/ -#include "name.h" +#include "unit.h" #include "snapshot.h" -static void snapshot_done(Name *n) { - Snapshot *s = SNAPSHOT(n); +static void snapshot_done(Unit *u) { + Snapshot *s = SNAPSHOT(u); assert(s); /* Nothing here for now */ } -static NameActiveState snapshot_active_state(Name *n) { - return SNAPSHOT(n)->state == SNAPSHOT_DEAD ? NAME_INACTIVE : NAME_ACTIVE; +static UnitActiveState snapshot_active_state(Unit *u) { + return SNAPSHOT(u)->state == SNAPSHOT_DEAD ? UNIT_INACTIVE : UNIT_ACTIVE; } -const NameVTable snapshot_vtable = { +const UnitVTable snapshot_vtable = { .suffix = ".snapshot", .done = snapshot_done, |