[Asterisk-code-review] dialplan: Add one static and fix two whitespace errors. (asterisk[16])

Friendly Automation asteriskteam at digium.com
Wed Aug 25 12:28:27 CDT 2021


Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/16381 )

Change subject: dialplan: Add one static and fix two whitespace errors.
......................................................................

dialplan: Add one static and fix two whitespace errors.

Change-Id: Ia14d515ab63e773097adc6af772ca7123a392f83
---
M res/res_calendar.c
M res/res_fax.c
2 files changed, 5 insertions(+), 5 deletions(-)

Approvals:
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  Sean Bright: Looks good to me, approved
  Friendly Automation: Approved for Submit



diff --git a/res/res_calendar.c b/res/res_calendar.c
index f629e3d..95f3e20 100644
--- a/res/res_calendar.c
+++ b/res/res_calendar.c
@@ -1112,8 +1112,8 @@
 }
 
 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 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 9619afa..be7f509 100644
--- a/res/res_fax.c
+++ b/res/res_fax.c
@@ -4739,7 +4739,7 @@
 }
 
 /*! \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,

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16381
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: Ia14d515ab63e773097adc6af772ca7123a392f83
Gerrit-Change-Number: 16381
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210825/c6732ff1/attachment.html>


More information about the asterisk-code-review mailing list