From 46bbdbd8c7e2c1116c2704fcbaa7b7bccf98b5f2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 28 Apr 2009 15:33:21 +0200 Subject: Fix a missing prototype warning --- lib/util/smb_threads.c | 1 + lib/util/smb_threads.h | 2 ++ 2 files changed, 3 insertions(+) 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. */ -- cgit