From: Alexander Traud Date: Wed, 25 Aug 2021 14:29:09 +0000 (+0200) Subject: dialplan: Add one static and fix two whitespace errors. X-Git-Tag: 16.21.0-rc1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2fe0a049a4cdca5e9d910e3fc08bf39c97e11bd;p=thirdparty%2Fasterisk.git dialplan: Add one static and fix two whitespace errors. Change-Id: Ia14d515ab63e773097adc6af772ca7123a392f83 --- diff --git a/res/res_calendar.c b/res/res_calendar.c index f629e3d020..95f3e202c7 100644 --- a/res/res_calendar.c +++ b/res/res_calendar.c @@ -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 = { - .name = "CALENDAR_BUSY", - .read = calendar_busy_exec, + .name = "CALENDAR_BUSY", + .read = calendar_busy_exec, }; 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 = { - .name = "CALENDAR_QUERY", - .read = calendar_query_exec, + .name = "CALENDAR_QUERY", + .read = calendar_query_exec, }; static void calendar_join_attendees(struct ast_calendar_event *event, char *buf, size_t len) diff --git a/res/res_fax.c b/res/res_fax.c index 9619afaa19..be7f5092a5 100644 --- a/res/res_fax.c +++ b/res/res_fax.c @@ -4739,7 +4739,7 @@ static int acf_faxopt_write(struct ast_channel *chan, const char *cmd, char *dat } /*! \brief FAXOPT dialplan function */ -struct ast_custom_function acf_faxopt = { +static struct ast_custom_function acf_faxopt = { .name = "FAXOPT", .read = acf_faxopt_read, .write = acf_faxopt_write,