FST: Mark wpa_supplicant callback functions get_peer_{first,next} static
These are used only through function pointers, so no need to keep the functions non-static. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
6013bbe04f
commit
39cdd3a0f9
1 changed files with 6 additions and 4 deletions
|
@ -4009,8 +4009,9 @@ static void wpas_fst_update_mb_ie_cb(void *ctx, const u8 *addr,
|
|||
}
|
||||
|
||||
|
||||
const u8 * wpas_fst_get_peer_first(void *ctx, struct fst_get_peer_ctx **get_ctx,
|
||||
Boolean mb_only)
|
||||
static const u8 * wpas_fst_get_peer_first(void *ctx,
|
||||
struct fst_get_peer_ctx **get_ctx,
|
||||
Boolean mb_only)
|
||||
{
|
||||
struct wpa_supplicant *wpa_s = ctx;
|
||||
|
||||
|
@ -4022,8 +4023,9 @@ const u8 * wpas_fst_get_peer_first(void *ctx, struct fst_get_peer_ctx **get_ctx,
|
|||
}
|
||||
|
||||
|
||||
const u8 * wpas_fst_get_peer_next(void *ctx, struct fst_get_peer_ctx **get_ctx,
|
||||
Boolean mb_only)
|
||||
static const u8 * wpas_fst_get_peer_next(void *ctx,
|
||||
struct fst_get_peer_ctx **get_ctx,
|
||||
Boolean mb_only)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue