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
16.29
Sean Bright 3 years ago committed by Friendly Automation
parent 393356a7c5
commit e8db3ce4a3

@ -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); \

Loading…
Cancel
Save