aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/config/attributes/attribute_manager.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2009-08-14 13:30:59 +0200
committerTobias Brunner <tobias@strongswan.org>2009-08-14 13:30:59 +0200
commit3901937d142cc9dc81ee22d99c8c596e9317c139 (patch)
treefcb90d9b12c38f4466b1742e5dd04324ab64278b /src/charon/config/attributes/attribute_manager.c
parent8b6a5ce5ba297a84058161ad01e9cf6abfdf71a3 (diff)
downloadstrongswan-3901937d142cc9dc81ee22d99c8c596e9317c139.tar.bz2
strongswan-3901937d142cc9dc81ee22d99c8c596e9317c139.tar.xz
OpenSolaris defines MUTEX_DEFAULT therefore we rename the members of the enums mutex/condvar/rwlock_type_t.
Diffstat (limited to 'src/charon/config/attributes/attribute_manager.c')
-rw-r--r--src/charon/config/attributes/attribute_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/config/attributes/attribute_manager.c b/src/charon/config/attributes/attribute_manager.c
index 83e431c43..bf45fdb42 100644
--- a/src/charon/config/attributes/attribute_manager.c
+++ b/src/charon/config/attributes/attribute_manager.c
@@ -260,7 +260,7 @@ attribute_manager_t *attribute_manager_create()
this->providers = linked_list_create();
this->handlers = linked_list_create();
- this->lock = rwlock_create(RWLOCK_DEFAULT);
+ this->lock = rwlock_create(RWLOCK_TYPE_DEFAULT);
return &this->public;
}