From 8a500549253f79a2ba052c5bd335962a48cfd3c4 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 13 Sep 2016 20:49:36 -0500 Subject: [PATCH] device: Make device_disassociated static --- src/device.c | 2 +- src/device.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/device.c b/src/device.c index 671fee27..6f04a6ed 100644 --- a/src/device.c +++ b/src/device.c @@ -528,7 +528,7 @@ void device_enter_state(struct device *device, enum device_state state) device->state = state; } -void device_disassociated(struct device *device) +static void device_disassociated(struct device *device) { struct network *network = device->connected_network; struct l_dbus *dbus = dbus_get_bus(); diff --git a/src/device.h b/src/device.h index 49cf4fc9..244043c2 100644 --- a/src/device.h +++ b/src/device.h @@ -55,7 +55,6 @@ uint32_t device_get_ifindex(struct device *device); const uint8_t *device_get_address(struct device *device); void device_enter_state(struct device *device, enum device_state state); -void device_disassociated(struct device *device); void device_connect_network(struct device *device, struct network *network, struct scan_bss *bss, struct l_dbus_message *message);