From: Sean Bright Date: Mon, 15 Aug 2022 12:34:35 +0000 (-0400) Subject: channel.h: Remove redundant declaration. X-Git-Tag: 19.7.0-rc1~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=217766b706f7a1713eff7fd39104d4ba5d8212d3;p=thirdparty%2Fasterisk.git 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 --- diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 1c56d20b17..e5613df1fd 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -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); \