summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-28 15:33:21 +0200
committerVolker Lendecke <vl@samba.org>2009-04-28 15:34:22 +0200
commit46bbdbd8c7e2c1116c2704fcbaa7b7bccf98b5f2 (patch)
tree4a86f9023e4720e40a6386eb59f207b7f51c5ecb
parent8e4cd873e34ba5fd394438136798393ba1c04ed2 (diff)
downloadsamba-46bbdbd8c7e2c1116c2704fcbaa7b7bccf98b5f2.tar.gz
samba-46bbdbd8c7e2c1116c2704fcbaa7b7bccf98b5f2.tar.bz2
samba-46bbdbd8c7e2c1116c2704fcbaa7b7bccf98b5f2.zip
Fix a missing prototype warning
-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. */