summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_dundi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index ef482df2c..c9dd3973e 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -173,7 +173,7 @@ enum {
#endif
static struct io_context *io;
-static struct sched_context *sched;
+static struct ast_sched_context *sched;
static int netsocket = -1;
static pthread_t netthreadid = AST_PTHREADT_NULL;
static pthread_t precachethreadid = AST_PTHREADT_NULL;
@@ -4803,7 +4803,7 @@ static int unload_module(void)
ast_custom_function_unregister(&dundi_result_function);
close(netsocket);
io_context_destroy(io);
- sched_context_destroy(sched);
+ ast_sched_context_destroy(sched);
mark_mappings();
prune_mappings();
@@ -4836,7 +4836,7 @@ static int load_module(void)
/* Make a UDP socket */
io = io_context_create();
- sched = sched_context_create();
+ sched = ast_sched_context_create();
if (!io || !sched)
return AST_MODULE_LOAD_DECLINE;