]> 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:39 +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 f3e191fcc52e89dbd60dc4a891bd476f95db3374..e019b41111135ce9798e95d02d9e95bed672a499 100644 (file)
@@ -4040,8 +4040,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); \