summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@dworkin.(none)>2009-05-10 23:04:00 -0400
committerDerrell Lipman <derrell@dworkin.(none)>2009-05-10 23:04:00 -0400
commit915518c0db30689f3508736238a9e8bb8ab03088 (patch)
treeca4080f12fef802e28d1749cd5f1b03a718236a4 /lib/util
parent9a93dc092c6951cdfa6e05c3885a006e5e56d7d3 (diff)
downloadsamba-915518c0db30689f3508736238a9e8bb8ab03088.tar.gz
samba-915518c0db30689f3508736238a9e8bb8ab03088.tar.bz2
samba-915518c0db30689f3508736238a9e8bb8ab03088.zip
Use bool instead of int for a boolean variable
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/smb_threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/smb_threads.c b/lib/util/smb_threads.c
index 132ad48784..22afcd378f 100644
--- 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) {