]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
channel.h: Remove redundant declaration.
authorSean Bright <sean@seanbright.com>
Mon, 15 Aug 2022 12:34:35 +0000 (08:34 -0400)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Fri, 9 Sep 2022 10:59:33 +0000 (05:59 -0500)
The DECLARE_STRINGFIELD_SETTERS_FOR() declares ast_channel_name_set()
for us, so no need to declare it separately.

Change-Id: I4813a884ada475ddc62bca480bceb4a53b3ec59a

include/asterisk/channel.h

index 1c56d20b1754e47cdfcddb2cc6fd4360c771d90b..e5613df1fd8ccbd31d1204267c18416757814136 100644 (file)
@@ -4112,8 +4112,6 @@ struct ast_channel_monitor {
 };
 
 /* 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); \