]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add an unused pointer to the ast_channel struct. This makes the ast_channel structure
authorRussell Bryant <russell@russellbryant.com>
Wed, 16 Jan 2008 22:36:24 +0000 (22:36 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 16 Jan 2008 22:36:24 +0000 (22:36 +0000)
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

.cleancount
include/asterisk/channel.h

index e85087affded170efcbc6f9672a6fc671d839ed0..f5c89552bd3e62bfce023a230e90d141f7a46b2f 100644 (file)
@@ -1 +1 @@
-31
+32
index de81ca9096f3c3254908971057036a99aeedff4d..e764d19d624a6c4376505bab25b19d422f4b64bd 100644 (file)
@@ -428,6 +428,9 @@ struct ast_channel {
        int rawwriteformat;                             /*!< Raw write format */
 
        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 */