From b7c13123de5e076f4fe972790bbb069ba902fa85 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Fri, 11 Oct 2013 10:51:32 +0200
Subject: [PATCH] threading_set_own() renamed to threading_set_alt()
---
ChangeLog | 1 +
library/threading.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 81bafe9a5..7becbcd58 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,7 @@ Bugfix
* Const correctness
* Possible naming collision in dhm_context
* Better support for MSVC
+ * threading_set_alt() name
= PolarSSL-1.3.0 released on 2013-10-01
Features
diff --git a/library/threading.c b/library/threading.c
index e79348aa3..659aa7e4b 100644
--- a/library/threading.c
+++ b/library/threading.c
@@ -117,7 +117,7 @@ int (*polarssl_mutex_free)( threading_mutex_t * ) = NULL;
int (*polarssl_mutex_lock)( threading_mutex_t * ) = NULL;
int (*polarssl_mutex_unlock)( threading_mutex_t * ) = NULL;
-int threading_set_own( int (*mutex_init)( threading_mutex_t * ),
+int threading_set_alt( int (*mutex_init)( threading_mutex_t * ),
int (*mutex_free)( threading_mutex_t * ),
int (*mutex_lock)( threading_mutex_t * ),
int (*mutex_unlock)( threading_mutex_t * ) )