chiark / gitweb /
timedated: refuse manual system time updates when automatic timesync is enabled
[elogind.git] / src / libsystemd / sd-bus / bus-util.c
index 6c9548f9aa6863b92ac819b8b9738fd55a277d52..6bd21ccb37517909e02c5091571dfa352f656b59 100644 (file)
@@ -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,