eapol/eapol_framework/eapol_common/type/gsmsim/core/eap_type_gsmsim.cpp
changeset 39 fe6b6762fccd
parent 33 938269283a16
--- a/eapol/eapol_framework/eapol_common/type/gsmsim/core/eap_type_gsmsim.cpp	Wed Jun 23 18:14:55 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/type/gsmsim/core/eap_type_gsmsim.cpp	Tue Jul 06 14:18:35 2010 +0300
@@ -16,7 +16,7 @@
 */
 
 /*
-* %version: 35 %
+* %version: 37 %
 */
 
 // This is enumeration of EAPOL source code.
@@ -344,7 +344,7 @@
 #if !defined(NO_EAP_TYPE_GSMSIM_MESSAGE_STATE_CHECK)
 
 //
-void eap_type_gsmsim_c::initialize_state(
+EAP_FUNC_EXPORT void eap_type_gsmsim_c::initialize_state(
 				const eap_type_gsmsim_state_variable_e state,
 				const bool must_be_initiator,
 				const bool must_be_responder,
@@ -626,7 +626,7 @@
  * This function saves the current m_state to m_saved_previous_state.
  * The saved state is restored in error case.
  */
-void eap_type_gsmsim_c::save_current_state()
+EAP_FUNC_EXPORT void eap_type_gsmsim_c::save_current_state()
 {
 	m_saved_previous_state = m_state;
 }
@@ -636,7 +636,7 @@
 /**
  * This function restores the saved state.
  */
-void eap_type_gsmsim_c::restore_saved_previous_state()
+EAP_FUNC_EXPORT void eap_type_gsmsim_c::restore_saved_previous_state()
 {
 	set_state(m_saved_previous_state);
 }
@@ -3665,8 +3665,6 @@
 
 //--------------------------------------------------
 
-#if defined(USE_EAP_TRACE)
-
 // 
 EAP_FUNC_EXPORT void eap_type_gsmsim_c::packet_trace(
 	eap_const_string prefix,
@@ -3777,7 +3775,6 @@
 	EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT);
 }
 
-#endif //#if defined(USE_EAP_TRACE)
 
 //--------------------------------------------------