Browse Source

Make eapol_auth_initialize() static since it is internal to eapol_sm.c

Jouni Malinen 15 years ago
parent
commit
ee58e87195
2 changed files with 2 additions and 2 deletions
  1. 2 1
      hostapd/eapol_sm.c
  2. 0 1
      hostapd/eapol_sm.h

+ 2 - 1
hostapd/eapol_sm.c

@@ -47,6 +47,7 @@ sm->eapol->cb.set_port_authorized(sm->hapd, sm->sta, 0)
 
 static void eapol_sm_step_run(struct eapol_state_machine *sm);
 static void eapol_sm_step_cb(void *eloop_ctx, void *timeout_ctx);
+static void eapol_auth_initialize(struct eapol_state_machine *sm);
 
 
 static void eapol_auth_logger(struct eapol_authenticator *eapol,
@@ -966,7 +967,7 @@ void eapol_auth_step(struct eapol_state_machine *sm)
 }
 
 
-void eapol_auth_initialize(struct eapol_state_machine *sm)
+static void eapol_auth_initialize(struct eapol_state_machine *sm)
 {
 	sm->initializing = TRUE;
 	/* Initialize the state machines by asserting initialize and then

+ 0 - 1
hostapd/eapol_sm.h

@@ -254,7 +254,6 @@ eapol_auth_alloc(struct eapol_authenticator *eapol, const u8 *addr,
 		 int flags, struct sta_info *sta);
 void eapol_auth_free(struct eapol_state_machine *sm);
 void eapol_auth_step(struct eapol_state_machine *sm);
-void eapol_auth_initialize(struct eapol_state_machine *sm);
 void eapol_auth_dump_state(FILE *f, const char *prefix,
 			   struct eapol_state_machine *sm);
 int eapol_auth_eap_pending_cb(struct eapol_state_machine *sm, void *ctx);