aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-11-07 15:04:19 (GMT)
committerJouni Malinen <j@w1.fi>2009-11-22 19:15:02 (GMT)
commita8215ce69933b4476ab19ac934da976afffbd0e7 (patch)
tree53c579a3fff57e4d8474d472c5e2396d01682347
parent213837d44e59285b70b7c3c4100d44bf965aabb3 (diff)
downloadhostap-06-a8215ce69933b4476ab19ac934da976afffbd0e7.zip
hostap-06-a8215ce69933b4476ab19ac934da976afffbd0e7.tar.gz
hostap-06-a8215ce69933b4476ab19ac934da976afffbd0e7.tar.bz2
WPS: Mark functions static
These functions are used only within wps_upnp_event.c. (cherry picked from commit b02ee4a2283a7850214c143811ed21bf1805cd4e)
-rw-r--r--src/wps/wps_upnp_event.c4
-rw-r--r--src/wps/wps_upnp_i.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/wps/wps_upnp_event.c b/src/wps/wps_upnp_event.c
index f278f35..4122a87 100644
--- a/src/wps/wps_upnp_event.c
+++ b/src/wps/wps_upnp_event.c
@@ -89,7 +89,7 @@ static void event_clean(struct wps_event_ *e)
/* event_delete -- delete single unqueued event
* (be sure to dequeue first if need be)
*/
-void event_delete(struct wps_event_ *e)
+static void event_delete(struct wps_event_ *e)
{
event_clean(e);
wpabuf_free(e->data);
@@ -432,7 +432,7 @@ static int event_send_start(struct subscription *s)
/* event_send_all_later_handler -- actually send events as needed */
-void event_send_all_later_handler(void *eloop_data, void *user_ctx)
+static void event_send_all_later_handler(void *eloop_data, void *user_ctx)
{
struct upnp_wps_device_sm *sm = user_ctx;
struct subscription *s;
diff --git a/src/wps/wps_upnp_i.h b/src/wps/wps_upnp_i.h
index d4b6569..edaa16d 100644
--- a/src/wps/wps_upnp_i.h
+++ b/src/wps/wps_upnp_i.h
@@ -185,7 +185,6 @@ void web_listener_stop(struct upnp_wps_device_sm *sm);
/* wps_upnp_event.c */
int event_add(struct subscription *s, const struct wpabuf *data);
-void event_delete(struct wps_event_ *e);
void event_delete_all(struct subscription *s);
void event_send_all_later(struct upnp_wps_device_sm *sm);
void event_send_stop_all(struct upnp_wps_device_sm *sm);