From f98979d607768b28c55db53dab5ef91830bd46fa Mon Sep 17 00:00:00 2001 From: russell Date: Wed, 16 Jan 2008 22:36:24 +0000 Subject: 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: http://svn.digium.com/svn/asterisk/branches/1.4@98982 f38db490-d61c-443f-a65b-d21fe96a405b --- .cleancount | 2 +- include/asterisk/channel.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.cleancount b/.cleancount index e85087aff..f5c89552b 100644 --- a/.cleancount +++ b/.cleancount @@ -1 +1 @@ -31 +32 diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index de81ca909..e764d19d6 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 */ -- cgit v1.2.3