git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the thread functions a bit easier to use
[ira/wip.git]
/
lib
/
util
/
smb_threads.h
diff --git
a/lib/util/smb_threads.h
b/lib/util/smb_threads.h
index 809673ab544b245afe6c653061862525decab4a7..9a096167743383c76b9d00d19a3766f826421d91 100644
(file)
--- a/
lib/util/smb_threads.h
+++ b/
lib/util/smb_threads.h
@@
-22,8
+22,6
@@
typedef bool smb_thread_once_t;
#define SMB_THREAD_ONCE_INIT false
-#define SMB_THREAD_ONCE_IS_INITIALIZED(val) ((val) == true)
-#define SMB_THREAD_ONCE_INITIALIZE(val) ((val) = true)
enum smb_thread_lock_type {
SMB_THREAD_LOCK = 1,