summaryrefslogtreecommitdiff
path: root/devicestate.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-08-09 15:37:33 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-08-09 15:37:33 +0000
commit957eed76824fea1814f82277de6416a4e4cb2293 (patch)
tree14e3ee4e25164028987eadaeea81ab79f09001ef /devicestate.c
parentce7a1e4768c73b8a81805bbc10f7627b3412bd12 (diff)
eliminate compiler warnings when DEBUG_THREADS is enabled
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'devicestate.c')
-rwxr-xr-xdevicestate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/devicestate.c b/devicestate.c
index f79cd1190..c3e7c52d0 100755
--- a/devicestate.c
+++ b/devicestate.c
@@ -228,7 +228,7 @@ static void *do_devstate_changes(void *data)
} else {
/* there was no entry, so atomically unlock the list and wait for
the condition to be signalled (returns with the lock held) */
- pthread_cond_wait(&change_pending, &state_changes.lock);
+ ast_pthread_cond_wait(&change_pending, &state_changes.lock);
}
}