diff options
author | Russell Bryant <russell@russellbryant.com> | 2010-12-20 17:49:20 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2010-12-20 17:49:20 +0000 |
commit | 6caabd4d89ae915f469fda52ad00c975850b96e6 (patch) | |
tree | 9d1da85f511f6236d4100709e72e2de0e6fe88f3 /addons/chan_ooh323.c | |
parent | 55c861888ab063f8f62a3546650b2d5641cda3cd (diff) |
Fix some build errors in addons due to sched API changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@299133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'addons/chan_ooh323.c')
-rw-r--r-- | addons/chan_ooh323.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c index af9a711e4..a49e3a882 100644 --- a/addons/chan_ooh323.c +++ b/addons/chan_ooh323.c @@ -323,7 +323,7 @@ static struct ooh323_config } ooconfig; /** Asterisk RTP stuff*/ -static struct sched_context *sched; +static struct ast_sched_context *sched; static struct io_context *io; /* Protect the monitoring thread, so only one process can kill or start it, @@ -3235,7 +3235,7 @@ static int load_module(void) ast_register_atexit(&ast_ooh323c_exit); #endif - if (!(sched = sched_context_create())) { + if (!(sched = ast_sched_context_create())) { ast_log(LOG_WARNING, "Unable to create schedule context\n"); } if (!(io = io_context_create())) { |