summaryrefslogtreecommitdiff
path: root/lib/locks.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/locks.c')
-rw-r--r--lib/locks.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/locks.c b/lib/locks.c
index e1ddfc6d79..d3bc2e1fea 100644
--- a/lib/locks.c
+++ b/lib/locks.c
@@ -48,10 +48,11 @@
* This function must be called before gnutls_global_init().
*
**/
-void gnutls_global_set_mutex(mutex_init_func init, mutex_deinit_func deinit,
- mutex_lock_func lock, mutex_unlock_func unlock)
+void
+gnutls_global_set_mutex (mutex_init_func init, mutex_deinit_func deinit,
+ mutex_lock_func lock, mutex_unlock_func unlock)
{
- if (init == NULL || deinit == NULL || lock == NULL || unlock == NULL)
+ if (init == NULL || deinit == NULL || lock == NULL || unlock == NULL)
return;
gnutls_mutex_init = init;