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

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


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

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 f3e191f..e019b41 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -4040,8 +4040,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/+/18967
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I4813a884ada475ddc62bca480bceb4a53b3ec59a
Gerrit-Change-Number: 18967
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/210bc8c6/attachment.html>


More information about the asterisk-code-review mailing list