WPS: Mark functions static
These functions are used only within wps_upnp_event.c.
This commit is contained in:
parent
e9bcfebfce
commit
b02ee4a228
2 changed files with 2 additions and 3 deletions
|
@ -89,7 +89,7 @@ static void event_clean(struct wps_event_ *e)
|
||||||
/* event_delete -- delete single unqueued event
|
/* event_delete -- delete single unqueued event
|
||||||
* (be sure to dequeue first if need be)
|
* (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);
|
event_clean(e);
|
||||||
wpabuf_free(e->data);
|
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 */
|
/* 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 upnp_wps_device_sm *sm = user_ctx;
|
||||||
struct subscription *s;
|
struct subscription *s;
|
||||||
|
|
|
@ -191,7 +191,6 @@ void web_listener_stop(struct upnp_wps_device_sm *sm);
|
||||||
|
|
||||||
/* wps_upnp_event.c */
|
/* wps_upnp_event.c */
|
||||||
int event_add(struct subscription *s, const struct wpabuf *data);
|
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_delete_all(struct subscription *s);
|
||||||
void event_send_all_later(struct upnp_wps_device_sm *sm);
|
void event_send_all_later(struct upnp_wps_device_sm *sm);
|
||||||
void event_send_stop_all(struct upnp_wps_device_sm *sm);
|
void event_send_stop_all(struct upnp_wps_device_sm *sm);
|
||||||
|
|
Loading…
Reference in a new issue