diff options
Diffstat (limited to 'src/clock.c')
-rw-r--r-- | src/clock.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/clock.c b/src/clock.c index e2cc19fa..1c16d404 100644 --- a/src/clock.c +++ b/src/clock.c @@ -29,12 +29,6 @@ #include "connman.h" -enum time_updates { - TIME_UPDATES_UNKNOWN = 0, - TIME_UPDATES_MANUAL = 1, - TIME_UPDATES_AUTO = 2, -}; - enum timezone_updates { TIMEZONE_UPDATES_UNKNOWN = 0, TIMEZONE_UPDATES_MANUAL = 1, @@ -94,6 +88,11 @@ static enum timezone_updates string2timezone_updates(const char *value) return TIMEZONE_UPDATES_UNKNOWN; } +enum time_updates __connman_clock_timeupdates(void) +{ + return time_updates_config; +} + static void append_timeservers(DBusMessageIter *iter, void *user_data) { int i; |