aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils/identification.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-02-01 15:24:10 +0000
committerMartin Willi <martin@strongswan.org>2007-02-01 15:24:10 +0000
commitd3032a9a82a0f701d10bc2467263504f6e30a800 (patch)
tree2dc595cda2f6526034ab1789a4447332d4b656e5 /src/libstrongswan/utils/identification.c
parent42dcd01ffedd7e6bb5f3e0912abf26af8b335282 (diff)
downloadstrongswan-d3032a9a82a0f701d10bc2467263504f6e30a800.tar.bz2
strongswan-d3032a9a82a0f701d10bc2467263504f6e30a800.tar.xz
renamed all static clone() functions to avoid naming conflicts with uclibc
Diffstat (limited to 'src/libstrongswan/utils/identification.c')
-rw-r--r--src/libstrongswan/utils/identification.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstrongswan/utils/identification.c b/src/libstrongswan/utils/identification.c
index 90c12279e..6c77b41e8 100644
--- a/src/libstrongswan/utils/identification.c
+++ b/src/libstrongswan/utils/identification.c
@@ -921,7 +921,7 @@ static void __attribute__ ((constructor))print_register()
/**
* Implementation of identification_t.clone.
*/
-static identification_t *clone(private_identification_t *this)
+static identification_t *clone_(private_identification_t *this)
{
private_identification_t *clone = identification_create();
@@ -952,7 +952,7 @@ static private_identification_t *identification_create(void)
this->public.get_encoding = (chunk_t (*) (identification_t*))get_encoding;
this->public.get_type = (id_type_t (*) (identification_t*))get_type;
this->public.contains_wildcards = (bool (*) (identification_t *this))contains_wildcards;
- this->public.clone = (identification_t* (*) (identification_t*))clone;
+ this->public.clone = (identification_t* (*) (identification_t*))clone_;
this->public.destroy = (void (*) (identification_t*))destroy;
/* we use these as defaults, the may be overloaded for special ID types */
this->public.equals = (bool (*) (identification_t*,identification_t*))equals_binary;