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

Sean Bright asteriskteam at digium.com
Mon Aug 15 07:47:11 CDT 2022


Sean Bright has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/18969 )


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, 0 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/69/18969/1

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/+/18969
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 19
Gerrit-Change-Id: I4813a884ada475ddc62bca480bceb4a53b3ec59a
Gerrit-Change-Number: 18969
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean at seanbright.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220815/2a8e2435/attachment.html>


More information about the asterisk-code-review mailing list