diff options
author | Stef Walter <stefw@collabora.co.uk> | 2011-10-24 08:05:43 +0200 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-10-24 08:05:43 +0200 |
commit | 5507dc4946f0a68cece5ec9e7096e0f9b8c55984 (patch) | |
tree | d3921c57fabb04aceedf052d051ffa77f22f4b1e /p11-kit/compat.c | |
parent | db92b76e3acb11e330309ebce071ec2e61400a71 (diff) |
Rename non-static functions to have a _p11_xxx prefix.
* Work around issues with brain-dead linkers not respecting
the libtool -export-symbol-regex argument
https://bugs.freedesktop.org/show_bug.cgi?id=42020
Diffstat (limited to 'p11-kit/compat.c')
-rw-r--r-- | p11-kit/compat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/p11-kit/compat.c b/p11-kit/compat.c index 5fe8a84..db0b0ce 100644 --- a/p11-kit/compat.c +++ b/p11-kit/compat.c @@ -42,7 +42,7 @@ #ifdef OS_UNIX void -mutex_init (mutex_t *mutex) +_p11_mutex_init (mutex_t *mutex) { pthread_mutexattr_t attr; int ret; @@ -59,7 +59,7 @@ mutex_init (mutex_t *mutex) #ifdef OS_WIN32 const char * -module_error (void) +_p11_module_error (void) { DWORD code = GetLastError(); p11_local *local; @@ -82,7 +82,7 @@ module_error (void) } int -thread_create (thread_t *thread, +_p11_thread_create (thread_t *thread, thread_routine routine, void *arg) { @@ -99,7 +99,7 @@ thread_create (thread_t *thread, } int -thread_join (thread_t thread) +_p11_thread_join (thread_t thread) { DWORD res; |