dialplan: Add one static and fix two whitespace errors.

Change-Id: Ia14d515ab63e773097adc6af772ca7123a392f83
This commit is contained in:
Alexander Traud
2021-08-25 16:29:09 +02:00
committed by Friendly Automation
parent e65e1c5c6c
commit f22b413ece
2 changed files with 5 additions and 5 deletions

View File

@@ -1112,8 +1112,8 @@ static int calendar_busy_exec(struct ast_channel *chan, const char *cmd, char *d
} }
static struct ast_custom_function calendar_busy_function = { static struct ast_custom_function calendar_busy_function = {
.name = "CALENDAR_BUSY", .name = "CALENDAR_BUSY",
.read = calendar_busy_exec, .read = calendar_busy_exec,
}; };
static int add_event_to_list(struct eventlist *events, struct ast_calendar_event *event, time_t start, time_t end) static int add_event_to_list(struct eventlist *events, struct ast_calendar_event *event, time_t start, time_t end)
@@ -1297,8 +1297,8 @@ static int calendar_query_exec(struct ast_channel *chan, const char *cmd, char *
} }
static struct ast_custom_function calendar_query_function = { static struct ast_custom_function calendar_query_function = {
.name = "CALENDAR_QUERY", .name = "CALENDAR_QUERY",
.read = calendar_query_exec, .read = calendar_query_exec,
}; };
static void calendar_join_attendees(struct ast_calendar_event *event, char *buf, size_t len) static void calendar_join_attendees(struct ast_calendar_event *event, char *buf, size_t len)

View File

@@ -4739,7 +4739,7 @@ static int acf_faxopt_write(struct ast_channel *chan, const char *cmd, char *dat
} }
/*! \brief FAXOPT dialplan function */ /*! \brief FAXOPT dialplan function */
struct ast_custom_function acf_faxopt = { static struct ast_custom_function acf_faxopt = {
.name = "FAXOPT", .name = "FAXOPT",
.read = acf_faxopt_read, .read = acf_faxopt_read,
.write = acf_faxopt_write, .write = acf_faxopt_write,