From: Volker Lendecke Date: Tue, 28 Apr 2009 13:33:21 +0000 (+0200) Subject: Fix a missing prototype warning X-Git-Tag: tdb-1.1.5~870 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46bbdbd8c7e2c1116c2704fcbaa7b7bccf98b5f2;p=thirdparty%2Fsamba.git Fix a missing prototype warning --- diff --git a/lib/util/smb_threads.c b/lib/util/smb_threads.c index 783e660b7f7..1998211d404 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 3d3d48ecb2e..4443c3eae43 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. */