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

Sean Bright asteriskteam at digium.com
Mon Aug 15 07:42:24 CDT 2022


Sean Bright has uploaded this change for review. ( 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, 0 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/67/18967/1

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: 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/8b436a09/attachment.html>


More information about the asterisk-code-review mailing list