lib: Remove smb_threads from includes.h
authorVolker Lendecke <vl@samba.org>
Tue, 19 Apr 2022 19:24:36 +0000 (21:24 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 26 Apr 2022 21:41:29 +0000 (21:41 +0000)
Only used in libsmb_context.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/include/includes.h
source3/libsmb/libsmb_context.c
source4/include/includes.h

index ee0628eb31ac44b627b301a6ddc99c82c21eeead..bb93aad02a00791fd705322b4923d8ab1ba060e1 100644 (file)
@@ -269,8 +269,6 @@ typedef char fstring[FSTRING_LEN];
 
 #include "../lib/util/samba_modules.h"
 #include "../lib/util/talloc_stack.h"
-#include "../lib/util/smb_threads.h"
-#include "../lib/util/smb_threads_internal.h"
 
 /* samba_setXXid functions. */
 #include "../lib/util/setid.h"
index 23155fe263fe1f375366e6a55b6a695c98501fae..b92f14e9d4ea1dc889540ca09994540b3f077e55 100644 (file)
@@ -31,6 +31,8 @@
 #include "auth/credentials/credentials.h"
 #include "auth/gensec/gensec.h"
 #include "lib/param/param.h"
+#include "../lib/util/smb_threads.h"
+#include "../lib/util/smb_threads_internal.h"
 
 /*
  * Is the logging working / configfile read ?
index 39b0494342043e7f59f0767de2d73ce01b4fcce0..e7abf1a24925a8794509be0391e2c91af3cf1333 100644 (file)
 /* String routines */
 #include "../lib/util/safe_string.h"
 
-/* Thread functions. */
-#include "../lib/util/smb_threads.h"
-#include "../lib/util/smb_threads_internal.h"
-
 /* samba_setXXid functions. */
 #include "../lib/util/setid.h"