commit f06c3b645d785f731d36c0aa260ed559a313f8a5
parent 3d43d633d1fc197ef10aae7eab6d830e06644f30
Author: Denis Kenzior <denkenz@gmail.com>
Date: Wed, 19 Sep 2018 13:45:49 -0500
station: Make station_state_to_string static
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/station.c b/src/station.c
@@ -609,7 +609,7 @@ static void periodic_scan_stop(struct station *station)
}
}
-const char *station_state_to_string(enum station_state state)
+static const char *station_state_to_string(enum station_state state)
{
switch (state) {
case STATION_STATE_DISCONNECTED:
diff --git a/src/station.h b/src/station.h
@@ -53,7 +53,6 @@ struct network *station_network_find(struct station *station, const char *ssid,
void station_set_scan_results(struct station *station, struct l_queue *bss_list,
bool add_to_autoconnect);
-const char *station_state_to_string(enum station_state state);
enum station_state station_get_state(struct station *station);
uint32_t station_add_state_watch(struct station *station,
station_state_watch_func_t func,