diff --git a/src/device.c b/src/device.c index 2bdc461d..0acb7cef 100644 --- a/src/device.c +++ b/src/device.c @@ -503,7 +503,7 @@ bool device_remove_state_watch(struct device *device, uint32_t id) return watchlist_remove(&device->state_watches, id); } -void device_enter_state(struct device *device, enum device_state state) +static void device_enter_state(struct device *device, enum device_state state) { struct l_dbus *dbus = dbus_get_bus(); bool disconnected; diff --git a/src/device.h b/src/device.h index c0d1b8fb..d020cbf8 100644 --- a/src/device.h +++ b/src/device.h @@ -61,7 +61,6 @@ uint32_t device_add_state_watch(struct device *device, device_destroy_func_t destroy); bool device_remove_state_watch(struct device *device, uint32_t id); -void device_enter_state(struct device *device, enum device_state state); void device_connect_network(struct device *device, struct network *network, struct scan_bss *bss, struct l_dbus_message *message);