[Asterisk-code-review] channel.h: Remove redundant declaration. (asterisk[18])

Friendly Automation asteriskteam at digium.com
Fri Sep 9 05:59:35 CDT 2022


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

Change subject: channel.h: Remove redundant declaration.
......................................................................

channel.h: Remove redundant declaration.

The DECLARE_STRINGFIELD_SETTERS_FOR() declares ast_channel_name_set()
for us, so no need to declare it separately.

Change-Id: I4813a884ada475ddc62bca480bceb4a53b3ec59a
---
M include/asterisk/channel.h
1 file changed, 12 insertions(+), 2 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit




diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 1c56d20..e5613df 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -4112,8 +4112,6 @@
 };
 
 /* ACCESSOR FUNCTIONS */
-/*! \brief Set the channel name */
-void ast_channel_name_set(struct ast_channel *chan, const char *name);
 
 #define DECLARE_STRINGFIELD_SETTERS_FOR(field)	\
 	void ast_channel_##field##_set(struct ast_channel *chan, const char *field); \

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

Gerrit-Project: asterisk
Gerrit-Branch: 18
Gerrit-Change-Id: I4813a884ada475ddc62bca480bceb4a53b3ec59a
Gerrit-Change-Number: 18968
Gerrit-PatchSet: 2
Gerrit-Owner: Sean Bright <sean at seanbright.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220909/b7e03074/attachment.html>


More information about the asterisk-code-review mailing list