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
This commit is contained in:
Russell Bryant
2010-12-20 17:49:20 +00:00
parent 55c861888a
commit 6caabd4d89
2 changed files with 6 additions and 6 deletions

View File

@@ -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())) {