git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a93dc0
)
Use bool instead of int for a boolean variable
author
Derrell Lipman
<derrell@dworkin.(none)>
Mon, 11 May 2009 03:04:00 +0000
(23:04 -0400)
committer
Derrell Lipman
<derrell@dworkin.(none)>
Mon, 11 May 2009 03:04:00 +0000
(23:04 -0400)
lib/util/smb_threads.c
patch
|
blob
|
history
diff --git
a/lib/util/smb_threads.c
b/lib/util/smb_threads.c
index 132ad48784de230cb36e3327a76e725d5088be58..22afcd378f271f0211c70e42a675dc9488deaf3d 100644
(file)
--- a/
lib/util/smb_threads.c
+++ b/
lib/util/smb_threads.c
@@
-107,7
+107,7
@@
int smb_thread_set_functions(const struct smb_thread_functions *tf)
void smb_thread_once(smb_thread_once_t *ponce, void (*init_fn)(void))
{
int ret;
-
int
need_func_call;
+
bool
need_func_call;
/* Lock our "once" mutex in order to test and initialize ponce */
if ((ret = SMB_THREAD_LOCK(once_mutex, SMB_THREAD_LOCK)) != 0) {