summaryrefslogtreecommitdiff
path: root/src/core/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-04 00:35:43 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-04 00:35:43 +0100
commit7a7821c878a6ddfb2e79268bb1cd8f7662a9b8f8 (patch)
tree491907630dcf974ae630529302e4fe87f658ddc3 /src/core/unit.h
parent8e5de09f442874bed2a8889aa28739d2a516b094 (diff)
core: rework job_get_timeout() to use usec_t and handle USEC_INFINITY time events correctly
Diffstat (limited to 'src/core/unit.h')
-rw-r--r--src/core/unit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/unit.h b/src/core/unit.h
index f86a0f687b..8712e03133 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -379,7 +379,8 @@ struct UnitVTable {
/* Called whenever CLOCK_REALTIME made a jump */
void (*time_change)(Unit *u);
- int (*get_timeout)(Unit *u, uint64_t *timeout);
+ /* Returns the next timeout of a unit */
+ int (*get_timeout)(Unit *u, usec_t *timeout);
/* This is called for each unit type and should be used to
* enumerate existing devices and load them. However,