aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-16 22:36:24 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-16 22:36:24 +0000
commitf98979d607768b28c55db53dab5ef91830bd46fa (patch)
tree58f761f78c0fd87b63feadefc8b0f756610a8a01
parent2a35ff43a2a08e1427ab5de1d11b562dceef5b17 (diff)
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
-rw-r--r--.cleancount2
-rw-r--r--include/asterisk/channel.h3
2 files changed, 4 insertions, 1 deletions
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 */