Remove unnecessary wpa_event_type typedef

This commit is contained in:
Jouni Malinen 2010-01-03 13:10:12 +02:00
parent fdbe50ed98
commit 9646a8ab8b
3 changed files with 6 additions and 6 deletions

View file

@ -343,7 +343,7 @@ static int hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa,
} }
void wpa_supplicant_event(void *ctx, wpa_event_type event, void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
union wpa_event_data *data) union wpa_event_data *data)
{ {
struct hostapd_data *hapd = ctx; struct hostapd_data *hapd = ctx;

View file

@ -1523,7 +1523,7 @@ struct wpa_driver_ops {
/** /**
* enum wpa_event_type - Event type for wpa_supplicant_event() calls * enum wpa_event_type - Event type for wpa_supplicant_event() calls
*/ */
typedef enum wpa_event_type { enum wpa_event_type {
/** /**
* EVENT_ASSOC - Association completed * EVENT_ASSOC - Association completed
* *
@ -1734,8 +1734,8 @@ typedef enum wpa_event_type {
* received. Information about the received frame is included in * received. Information about the received frame is included in
* union wpa_event_data::rx_probe_req. * union wpa_event_data::rx_probe_req.
*/ */
EVENT_RX_PROBE_REQ, EVENT_RX_PROBE_REQ
} wpa_event_type; };
/** /**
@ -2020,7 +2020,7 @@ union wpa_event_data {
* Driver wrapper code should call this function whenever an event is received * Driver wrapper code should call this function whenever an event is received
* from the driver. * from the driver.
*/ */
void wpa_supplicant_event(void *ctx, wpa_event_type event, void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
union wpa_event_data *data); union wpa_event_data *data);
/** /**

View file

@ -1412,7 +1412,7 @@ static void wpa_supplicant_event_ibss_rsn_start(struct wpa_supplicant *wpa_s,
#endif /* CONFIG_IBSS_RSN */ #endif /* CONFIG_IBSS_RSN */
void wpa_supplicant_event(void *ctx, wpa_event_type event, void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
union wpa_event_data *data) union wpa_event_data *data)
{ {
struct wpa_supplicant *wpa_s = ctx; struct wpa_supplicant *wpa_s = ctx;