summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util/smb_threads.c1
-rw-r--r--lib/util/smb_threads.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/util/smb_threads.c b/lib/util/smb_threads.c
index 783e660b7f..1998211d40 100644
--- a/lib/util/smb_threads.c
+++ b/lib/util/smb_threads.c
@@ -24,6 +24,7 @@
*/
#include "includes.h"
+#include "smb_threads.h"
/*********************************************************
Functions to vector the locking primitives used internally
diff --git a/lib/util/smb_threads.h b/lib/util/smb_threads.h
index 3d3d48ecb2..4443c3eae4 100644
--- a/lib/util/smb_threads.h
+++ b/lib/util/smb_threads.h
@@ -63,6 +63,8 @@ struct smb_thread_functions {
void *(*get_tls)(void *pkey, const char *location);
};
+int smb_thread_set_functions(const struct smb_thread_functions *tf);
+
extern const struct smb_thread_functions *global_tfp;
/* Define the pthread version of the functions. */