Patchwork sta_info: remove duplicated function declaration

login
register
mail settings
Submitter Antonio Quartulli
Date May 8, 2012, 7:09 p.m.
Message ID <1336504172-7605-1-git-send-email-ordex@autistici.org>
Download mbox | patch
Permalink /patch/157814/
State Accepted
Commit dada954ad7515f6f85d489aef43bea2ae2e8df04
Headers show

Comments

Antonio Quartulli - May 8, 2012, 7:09 p.m.
In sta_info.h, ap_free_sta() is declared twice

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
 src/ap/sta_info.h |    1 -
 1 file changed, 1 deletion(-)
Jouni Malinen - June 9, 2012, 9:55 a.m.
On Tue, May 08, 2012 at 09:09:32PM +0200, Antonio Quartulli wrote:
> In sta_info.h, ap_free_sta() is declared twice

Thanks, applied.

Patch

diff --git a/src/ap/sta_info.h b/src/ap/sta_info.h
index 2f3af1b..cef428d 100644
--- a/src/ap/sta_info.h
+++ b/src/ap/sta_info.h
@@ -144,7 +144,6 @@  int ap_for_each_sta(struct hostapd_data *hapd,
 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta);
 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta);
 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
-void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
 void hostapd_free_stas(struct hostapd_data *hapd);
 void ap_handle_timer(void *eloop_ctx, void *timeout_ctx);
 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta,