From 904f38a40a6440325f3283e9e7fc586020f0b016 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 16 Jan 2008 22:36:24 +0000 Subject: [PATCH] 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 --- .cleancount | 2 +- include/asterisk/channel.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.cleancount b/.cleancount index e85087affd..f5c89552bd 100644 --- a/.cleancount +++ b/.cleancount @@ -1 +1 @@ -31 +32 diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index de81ca9096..e764d19d62 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -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 */