3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

device: Make device_enter_state static

This commit is contained in:
Denis Kenzior 2016-09-14 09:10:24 -05:00
parent 4419a6325a
commit ef18c03322
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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);