diff options
Diffstat (limited to 'include')
-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 c558289c7..fbaef5477 100644 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -73,7 +73,7 @@ struct ast_custom_function { const char *syntax; /*!< Syntax description */ int (*read)(struct ast_channel *, char *, char *, char *, size_t); /*!< Read function, if read is supported */ int (*write)(struct ast_channel *, char *, char *, const char *); /*!< Write function, if write is supported */ - AST_LIST_ENTRY(ast_custom_function) acflist; + AST_RWLIST_ENTRY(ast_custom_function) acflist; }; /*! \brief All switch functions have the same interface, so define a type for them */ |