summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-util.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-05-24 10:38:32 +0800
committerKay Sievers <kay@vrfy.org>2014-05-24 10:45:44 +0800
commit82d115d9abf5b2666e5561450fbb17c9044a0b33 (patch)
tree0e1fa22dd6f5cd9514bfbf3a541248459aa0d821 /src/libsystemd/sd-bus/bus-util.c
parent609896125cb89cac2fcd5b80b532de97d7a64c0a (diff)
timedated: refuse manual system time updates when automatic timesync is enabled
Diffstat (limited to 'src/libsystemd/sd-bus/bus-util.c')
-rw-r--r--src/libsystemd/sd-bus/bus-util.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libsystemd/sd-bus/bus-util.c b/src/libsystemd/sd-bus/bus-util.c
index 6c9548f9aa..6bd21ccb37 100644
--- a/src/libsystemd/sd-bus/bus-util.c
+++ b/src/libsystemd/sd-bus/bus-util.c
@@ -1104,20 +1104,6 @@ int bus_open_transport_systemd(BusTransport transport, const char *host, bool us
return r;
}
-int bus_property_get_tristate(
- sd_bus *bus,
- const char *path,
- const char *interface,
- const char *property,
- sd_bus_message *reply,
- void *userdata,
- sd_bus_error *error) {
-
- int *tristate = userdata;
-
- return sd_bus_message_append(reply, "b", *tristate > 0);
-}
-
int bus_property_get_bool(
sd_bus *bus,
const char *path,