diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-07-29 14:05:33 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-07-29 16:44:16 -0500 |
commit | be064f92a58332b65ffef10b742fb49217890919 (patch) | |
tree | 5d019b30f086501770bf04c8f71ec25b03d446e8 /src/voicecall.c | |
parent | 47dab3468e16e8af57f78da2beaa4c3841d7eac9 (diff) | |
download | ofono-be064f92a58332b65ffef10b742fb49217890919.tar.bz2 |
Rename modem_alloc_callid, modem_release_callid
Diffstat (limited to 'src/voicecall.c')
-rw-r--r-- | src/voicecall.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/voicecall.c b/src/voicecall.c index 07b254f1..3d33db39 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -1242,7 +1242,7 @@ void ofono_voicecall_disconnected(struct ofono_modem *modem, int id, calls->release_list = g_slist_remove(calls->release_list, call); - modem_release_callid(modem, id); + __ofono_modem_release_callid(modem, id); /* TODO: Emit disconnect reason */ voicecall_set_call_status(modem, call, CALL_STATUS_DISCONNECTED); @@ -1293,7 +1293,7 @@ void ofono_voicecall_notify(struct ofono_modem *modem, const struct ofono_call * memcpy(newcall, call, sizeof(struct ofono_call)); - if (modem_alloc_callid(modem) != call->id) { + if (__ofono_modem_alloc_callid(modem) != call->id) { ofono_error("Warning: Call id and internally tracked id" " do not correspond"); goto err; @@ -1391,7 +1391,7 @@ static struct ofono_call *synthesize_outgoing_call(struct ofono_modem *modem, if (!call) return call; - call->id = modem_alloc_callid(modem); + call->id = __ofono_modem_alloc_callid(modem); if (call->id == 0) { ofono_error("Failed to alloc callid, too many calls"); |