From 5507dc4946f0a68cece5ec9e7096e0f9b8c55984 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 24 Oct 2011 08:05:43 +0200 Subject: 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 --- p11-kit/compat.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'p11-kit/compat.c') 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; -- cgit v1.1