cosmetics
[strongswan.git] / src / charon / sa / ike_sa_id.c
index 84303d6..a838c0b 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "ike_sa_id.h"
 
+#include <stdio.h>
 
 
 typedef struct private_ike_sa_id_t private_ike_sa_id_t;
@@ -137,7 +138,7 @@ static bool switch_initiator(private_ike_sa_id_t *this)
        }
        else
        {
-               this->is_initiator_flag = TRUE; 
+               this->is_initiator_flag = TRUE;
        }
        return this->is_initiator_flag;
 }
@@ -145,7 +146,7 @@ static bool switch_initiator(private_ike_sa_id_t *this)
 /**
  * Implementation of ike_sa_id_t.clone.
  */
-static ike_sa_id_t* clone(private_ike_sa_id_t *this)
+static ike_sa_id_t* clone_(private_ike_sa_id_t *this)
 {
        return ike_sa_id_create(this->initiator_spi, this->responder_spi, this->is_initiator_flag);
 }
@@ -174,7 +175,7 @@ ike_sa_id_t * ike_sa_id_create(u_int64_t initiator_spi, u_int64_t responder_spi,
        this->public.replace_values = (void(*)(ike_sa_id_t*,ike_sa_id_t*)) replace_values;
        this->public.is_initiator = (bool(*)(ike_sa_id_t*)) is_initiator;
        this->public.switch_initiator = (bool(*)(ike_sa_id_t*)) switch_initiator;
-       this->public.clone = (ike_sa_id_t*(*)(ike_sa_id_t*)) clone;
+       this->public.clone = (ike_sa_id_t*(*)(ike_sa_id_t*)) clone_;
        this->public.destroy = (void(*)(ike_sa_id_t*))destroy;
 
        /* private data */