mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
Simplify some code in ast_app_run_sub().
* Remove unnnecessary const from const char * const var declaration in the ast_app_run_macro() and ast_app_run_sub() prototypes. The second const is unnecessary. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@359904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -131,8 +131,8 @@ int ast_app_getdata_full(struct ast_channel *c, const char *prompt, char *s, int
|
||||
* \retval 0 success
|
||||
* \retval -1 failure
|
||||
*/
|
||||
int ast_app_run_macro(struct ast_channel *autoservice_chan, struct ast_channel
|
||||
*macro_chan, const char * const macro_name, const char * const macro_args);
|
||||
int ast_app_run_macro(struct ast_channel *autoservice_chan,
|
||||
struct ast_channel *macro_chan, const char *macro_name, const char *macro_args);
|
||||
|
||||
/*!
|
||||
* \since 11
|
||||
@@ -151,8 +151,8 @@ int ast_app_run_macro(struct ast_channel *autoservice_chan, struct ast_channel
|
||||
* \retval 0 success
|
||||
* \retval -1 failure
|
||||
*/
|
||||
int ast_app_run_sub(struct ast_channel *autoservice_chan, struct ast_channel
|
||||
*sub_chan, const char * const name, const char * const args);
|
||||
int ast_app_run_sub(struct ast_channel *autoservice_chan,
|
||||
struct ast_channel *sub_chan, const char *name, const char *args);
|
||||
|
||||
/*!
|
||||
* \brief Set voicemail function callbacks
|
||||
|
||||
Reference in New Issue
Block a user