aboutsummaryrefslogtreecommitdiffstats
path: root/src/fst
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-07-18 12:40:23 +0300
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:19:48 -0600
commit00abca094fd0feb10ace44737f1736839ce31ff8 (patch)
treea356ba19f68bca01f44f92e4eb4a27ec4d9210f7 /src/fst
parentd2a162481d8e147ce87b52c8147e6cf6d45da9c1 (diff)
downloadandroid_external_wpa_supplicant_8-00abca094fd0feb10ace44737f1736839ce31ff8.tar.gz
android_external_wpa_supplicant_8-00abca094fd0feb10ace44737f1736839ce31ff8.tar.bz2
android_external_wpa_supplicant_8-00abca094fd0feb10ace44737f1736839ce31ff8.zip
FST: Mark format_session_state_extra() static
This is not used outside fst_ctrl_iface.c. Change-Id: I486fdb4a257cfb7c2076a103b7e6442f9c9bfaf3 Signed-off-by: Jouni Malinen <j@w1.fi> Git-commit: c836aa267e31b9869256735d2b0409abe810190c Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 891455
Diffstat (limited to 'src/fst')
-rw-r--r--src/fst/fst_ctrl_iface.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/fst/fst_ctrl_iface.c b/src/fst/fst_ctrl_iface.c
index db68bb50..c06a09b3 100644
--- a/src/fst/fst_ctrl_iface.c
+++ b/src/fst/fst_ctrl_iface.c
@@ -32,17 +32,14 @@ static struct fst_group * get_fst_group_by_id(const char *id)
/* notifications */
-Boolean format_session_state_extra(const union fst_event_extra *extra,
- char *buffer, int size)
+static Boolean format_session_state_extra(const union fst_event_extra *extra,
+ char *buffer, size_t size)
{
int len;
char reject_str[32] = FST_CTRL_PVAL_NONE;
const char *initiator = FST_CTRL_PVAL_NONE;
const struct fst_event_extra_session_state *ss;
- if (!extra)
- return TRUE;
-
ss = &extra->session_state;
if (ss->new_state != FST_SESSION_STATE_INITIAL)
return TRUE;