summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-06-16 13:29:39 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2011-06-16 15:26:11 +0200
commit972d3cdce00e7d7a4a0c1025072c507db1fa2a31 (patch)
tree0125119346136e389e71e82c9f6d0e290cd7d86e /plugins
parentb8418e40521e254758f0db46631db6316f717ed1 (diff)
downloadconnman-972d3cdce00e7d7a4a0c1025072c507db1fa2a31.tar.gz
connman-972d3cdce00e7d7a4a0c1025072c507db1fa2a31.tar.bz2
connman-972d3cdce00e7d7a4a0c1025072c507db1fa2a31.zip
timeserver: Do not use element driver API
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ntpd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/ntpd.c b/plugins/ntpd.c
index 7a762a80..d437ecbe 100644
--- a/plugins/ntpd.c
+++ b/plugins/ntpd.c
@@ -30,11 +30,13 @@
#include <string.h>
#include <arpa/inet.h>
+#include <gdbus.h>
+
#define CONNMAN_API_SUBJECT_TO_CHANGE
+#include <connman/types.h>
#include <connman/plugin.h>
#include <connman/task.h>
#include <connman/timeserver.h>
-#include <connman/driver.h>
#include <connman/log.h>
/*
@@ -303,7 +305,7 @@ remove:
static struct connman_timeserver_driver ntpd_driver = {
.name = "ntpd",
- .priority = CONNMAN_DRIVER_PRIORITY_DEFAULT,
+ .priority = CONNMAN_TIMESERVER_PRIORITY_DEFAULT,
.append = ntpd_append,
.remove = ntpd_remove,
.sync = ntpd_sync,