summaryrefslogtreecommitdiff
path: root/channels/chan_modem_i4l.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2001-04-03 18:38:37 +0000
committerMark Spencer <markster@digium.com>2001-04-03 18:38:37 +0000
commit5f80ce7975397d9b771ab5817793240199bcbeba (patch)
treeef59618ca69feea7194e46c7392abcc10884484d /channels/chan_modem_i4l.c
parent832e39f98fac5ebe635a3d24030b6f828dc4ebf3 (diff)
Version 0.1.8 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_modem_i4l.c')
-rwxr-xr-xchannels/chan_modem_i4l.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/channels/chan_modem_i4l.c b/channels/chan_modem_i4l.c
index f1e521adf..ecb931b72 100755
--- a/channels/chan_modem_i4l.c
+++ b/channels/chan_modem_i4l.c
@@ -423,17 +423,17 @@ static char *i4l_identify(struct ast_modem_pvt *p)
static void i4l_incusecnt()
{
- pthread_mutex_lock(&usecnt_lock);
+ ast_pthread_mutex_lock(&usecnt_lock);
usecnt++;
- pthread_mutex_unlock(&usecnt_lock);
+ ast_pthread_mutex_unlock(&usecnt_lock);
ast_update_use_count();
}
static void i4l_decusecnt()
{
- pthread_mutex_lock(&usecnt_lock);
+ ast_pthread_mutex_lock(&usecnt_lock);
usecnt++;
- pthread_mutex_unlock(&usecnt_lock);
+ ast_pthread_mutex_unlock(&usecnt_lock);
ast_update_use_count();
}
@@ -551,9 +551,9 @@ static struct ast_modem_driver i4l_driver =
int usecount(void)
{
int res;
- pthread_mutex_lock(&usecnt_lock);
+ ast_pthread_mutex_lock(&usecnt_lock);
res = usecnt;
- pthread_mutex_unlock(&usecnt_lock);
+ ast_pthread_mutex_unlock(&usecnt_lock);
return res;
}