aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-05-25 08:38:36 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-05-25 08:38:36 +0200
commitf64d8240b265fcc6ee2b1452e59918f567f7c416 (patch)
tree46094d8a55bbe1f9e22f2067278cc0b7e85e0bf7
parent986b3122a9b86937f9a21862a0a8e8d6a7143a4c (diff)
downloadstrongswan-f64d8240b265fcc6ee2b1452e59918f567f7c416.tar.bz2
strongswan-f64d8240b265fcc6ee2b1452e59918f567f7c416.tar.xz
resolve clone naming conflict with uclibc
-rw-r--r--src/charon/encoding/payloads/transform_attribute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charon/encoding/payloads/transform_attribute.c b/src/charon/encoding/payloads/transform_attribute.c
index c2745e5db..507d04a34 100644
--- a/src/charon/encoding/payloads/transform_attribute.c
+++ b/src/charon/encoding/payloads/transform_attribute.c
@@ -246,7 +246,7 @@ static u_int16_t get_attribute_type (private_transform_attribute_t *this)
/**
* Implementation of transform_attribute_t.clone.
*/
-static transform_attribute_t * clone(private_transform_attribute_t *this)
+static transform_attribute_t * _clone(private_transform_attribute_t *this)
{
private_transform_attribute_t *new_clone;
@@ -300,7 +300,7 @@ transform_attribute_t *transform_attribute_create()
this->public.get_value = (u_int16_t (*) (transform_attribute_t *)) get_value;
this->public.set_attribute_type = (void (*) (transform_attribute_t *,u_int16_t type)) set_attribute_type;
this->public.get_attribute_type = (u_int16_t (*) (transform_attribute_t *)) get_attribute_type;
- this->public.clone = (transform_attribute_t * (*) (transform_attribute_t *)) clone;
+ this->public.clone = (transform_attribute_t * (*) (transform_attribute_t *)) _clone;
this->public.destroy = (void (*) (transform_attribute_t *)) destroy;
/* set default values of the fields */