Add an unused pointer to the ast_channel struct. This makes the ast_channel structure

retain the same size as it had in previous 1.4 releases.  Also, all of the offsets for
members in the structure are still the same (except for the two pointers that got replaced
for the new spy/whisper architecture.)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2008-01-16 22:36:24 +00:00
parent ed51a4bce9
commit 904f38a40a
2 changed files with 4 additions and 1 deletions

View File

@@ -1 +1 @@
31 32

View File

@@ -428,6 +428,9 @@ struct ast_channel {
int rawwriteformat; /*!< Raw write format */ int rawwriteformat; /*!< Raw write format */
struct ast_audiohook_list *audiohooks; struct ast_audiohook_list *audiohooks;
/*! This pointer should stay for Asterisk 1.4. It just keeps the struct size the same
* for the sake of ABI compatability. */
void *__unused;
AST_LIST_ENTRY(ast_channel) chan_list; /*!< For easy linking */ AST_LIST_ENTRY(ast_channel) chan_list; /*!< For easy linking */