diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-01 00:26:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-01 00:26:44 +0200 |
commit | 6398320759ce4ed84922bb28f715d3c6c66166c4 (patch) | |
tree | d82395c8860a377eef72b28f3cc707ed16e31eff /src/unit.c | |
parent | 6398bea5d22a1d53f2fdabbf6fa4dc6f4ac1b6f4 (diff) |
core: rename struct timestamp to dual_timestamp to avoid name clash with IP system headers
Diffstat (limited to 'src/unit.c')
-rw-r--r-- | src/unit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unit.c b/src/unit.c index c546035ca1..76e8cd74a0 100644 --- a/src/unit.c +++ b/src/unit.c @@ -926,7 +926,7 @@ static void retroactively_stop_dependencies(Unit *u) { void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns) { bool unexpected = false; - timestamp ts; + dual_timestamp ts; assert(u); assert(os < _UNIT_ACTIVE_STATE_MAX); @@ -939,7 +939,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns) { * this function will be called too and the utmp code below * relies on that! */ - timestamp_get(&ts); + dual_timestamp_get(&ts); if (os == UNIT_INACTIVE && ns != UNIT_INACTIVE) u->meta.inactive_exit_timestamp = ts; |