From: Baruch Siach Date: Sun, 5 Aug 2012 16:40:49 +0000 (+0300) Subject: accounting: Staticise accounting_sta_interim X-Git-Tag: hostap_2_0~493 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37d428aef901b5680124f7dc0da34e067c391a0b;p=thirdparty%2Fhostap.git accounting: Staticise accounting_sta_interim This routine is not used anywhere else. Signed-hostap: Baruch Siach --- diff --git a/src/ap/accounting.c b/src/ap/accounting.c index 2c3a6d9f4..0b838a4cb 100644 --- a/src/ap/accounting.c +++ b/src/ap/accounting.c @@ -28,6 +28,8 @@ static void accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta); +static void accounting_sta_interim(struct hostapd_data *hapd, + struct sta_info *sta); static struct radius_msg * accounting_msg(struct hostapd_data *hapd, @@ -415,7 +417,8 @@ static void accounting_sta_report(struct hostapd_data *hapd, * @hapd: hostapd BSS data * @sta: The station */ -void accounting_sta_interim(struct hostapd_data *hapd, struct sta_info *sta) +static void accounting_sta_interim(struct hostapd_data *hapd, + struct sta_info *sta) { if (sta->acct_session_started) accounting_sta_report(hapd, sta, 0); diff --git a/src/ap/accounting.h b/src/ap/accounting.h index 797e24d72..9d13d011c 100644 --- a/src/ap/accounting.h +++ b/src/ap/accounting.h @@ -9,7 +9,6 @@ #ifndef ACCOUNTING_H #define ACCOUNTING_H -void accounting_sta_interim(struct hostapd_data *hapd, struct sta_info *sta); #ifdef CONFIG_NO_ACCOUNTING static inline void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta)