diff --git a/src/scan.c b/src/scan.c index 1a2e8a62..df163e00 100644 --- a/src/scan.c +++ b/src/scan.c @@ -393,7 +393,7 @@ static struct scan_bss *scan_parse_result(struct l_genl_msg *msg, return bss; } -void scan_bss_compute_rank(struct scan_bss *bss) +static void scan_bss_compute_rank(struct scan_bss *bss) { static const double RANK_RSNE_FACTOR = 1.2; static const double RANK_WPA_FACTOR = 1.0; diff --git a/src/scan.h b/src/scan.h index a3b8ee54..53c53370 100644 --- a/src/scan.h +++ b/src/scan.h @@ -66,7 +66,6 @@ void scan_sched_start(struct l_genl_family *nl80211, uint32_t ifindex, enum scan_ssid_security scan_get_ssid_security(enum ie_bss_capability bss_cap, const struct ie_rsn_info *info); void scan_bss_free(struct scan_bss *bss); -void scan_bss_compute_rank(struct scan_bss *bss); int scan_bss_rank_compare(const void *a, const void *b, void *user); void bss_get_supported_ciphers(struct scan_bss *bss,