diff options
author | Richard Mudgett <rmudgett@digium.com> | 2016-04-06 17:57:20 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2016-04-07 17:20:17 -0500 |
commit | 6138a75e8e438bb92ef541a6339d2a20c5164fd0 (patch) | |
tree | 94d939f8662e4244518a3f24fb50a4186b783413 /include/asterisk | |
parent | 724c16c5434e3905d7ae28e9661772f8794d7c53 (diff) |
pbx.h: Make ast_state_cb_type take more const.
This eliminates some casts that I made a note saying v10 and above
would no longer need them.
Better late than never :)
Change-Id: I346cdb3032b6478ceb40eb6fe732978b54035572
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/pbx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index 3b3b84150..09707527e 100644 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -109,7 +109,7 @@ struct ast_state_cb_info { }; /*! \brief Typedef for devicestate and hint callbacks */ -typedef int (*ast_state_cb_type)(char *context, char *id, struct ast_state_cb_info *info, void *data); +typedef int (*ast_state_cb_type)(const char *context, const char *exten, struct ast_state_cb_info *info, void *data); /*! \brief Typedef for devicestate and hint callback removal indication callback */ typedef void (*ast_state_cb_destroy_type)(int id, void *data); |