summaryrefslogtreecommitdiff
path: root/main/cdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/cdr.c')
-rw-r--r--main/cdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/cdr.c b/main/cdr.c
index f2ade2192..1677b1ba3 100644
--- a/main/cdr.c
+++ b/main/cdr.c
@@ -80,7 +80,7 @@ static int cdr_sequence = 0;
static int cdr_seq_inc(struct ast_cdr *cdr);
-static struct sched_context *sched;
+static struct ast_sched_context *sched;
static int cdr_sched = -1;
static pthread_t cdr_thread = AST_PTHREADT_NULL;
@@ -1616,7 +1616,7 @@ int ast_cdr_engine_init(void)
{
int res;
- sched = sched_context_create();
+ sched = ast_sched_context_create();
if (!sched) {
ast_log(LOG_ERROR, "Unable to create schedule context.\n");
return -1;