summaryrefslogtreecommitdiffstats
path: root/src/core/manager.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-03-18 16:28:38 +0100
committerLennart Poettering <lennart@poettering.net>2022-03-18 23:53:34 +0100
commitec75e8e07a0ad972e0c40e0a187e15a8d4fb3d66 (patch)
tree0d6309c1a74cf58a8b4c21a2f1cc198e901f4b17 /src/core/manager.h
parenttimesyncd: move stuff that is not about setting the clock out of manager_adju... (diff)
downloadsystemd-ec75e8e07a0ad972e0c40e0a187e15a8d4fb3d66.tar.xz
systemd-ec75e8e07a0ad972e0c40e0a187e15a8d4fb3d66.zip
sd-event: add a single implementation of an event source that runs on clock changes
We basically had the same code in three places. Let's unify it in a common helper function. event_add_time_change() might be something we should add to the official sd-event API sooner or later, given its general usefulness.
Diffstat (limited to 'src/core/manager.h')
-rw-r--r--src/core/manager.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/manager.h b/src/core/manager.h
index e5d988b745..f9096cf348 100644
--- a/src/core/manager.h
+++ b/src/core/manager.h
@@ -226,7 +226,6 @@ struct Manager {
sd_event_source *sigchld_event_source;
- int time_change_fd;
sd_event_source *time_change_event_source;
sd_event_source *timezone_change_event_source;