mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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())) {
|
||||
|
Reference in New Issue
Block a user