Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv14536

Modified Files:
        cdr.c devicestate.c 
Log Message:
eliminate compiler warnings when DEBUG_THREADS is enabled


Index: cdr.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- cdr.c       25 Jul 2005 22:56:18 -0000      1.51
+++ cdr.c       9 Aug 2005 15:37:32 -0000       1.52
@@ -1021,7 +1021,7 @@
                timeout.tv_nsec = (now.tv_usec * 1000) + ((schedms % 1000) * 
1000);
                /* prevent stuff from clobbering cdr_pending_cond, then wait on 
signals sent to it until the timeout expires */
                ast_mutex_lock(&cdr_pending_lock);
-               pthread_cond_timedwait(&cdr_pending_cond, &cdr_pending_lock, 
&timeout);
+               ast_pthread_cond_timedwait(&cdr_pending_cond, 
&cdr_pending_lock, &timeout);
                numevents = ast_sched_runq(sched);
                ast_mutex_unlock(&cdr_pending_lock);
                if (option_debug > 1)

Index: devicestate.c
===================================================================
RCS file: /usr/cvsroot/asterisk/devicestate.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- devicestate.c       20 Jul 2005 00:34:00 -0000      1.4
+++ devicestate.c       9 Aug 2005 15:37:32 -0000       1.5
@@ -228,7 +228,7 @@
                } 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);
                }
        }
 

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to