]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
I introduced a new member to the ast_filestream struct in 1.4.12, but put it
authorRussell Bryant <russell@russellbryant.com>
Wed, 10 Oct 2007 15:56:23 +0000 (15:56 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 10 Oct 2007 15:56:23 +0000 (15:56 +0000)
in the middle of the struct, instead of at the end.  One of the Debian folks,
paravoid, pointed out that this breaks binary compatability with modules
compiled against older headers.  So, I'm moving the new member to the end
of the struct to resolve the situation.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@85316 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/file.h

index 936735c4aea3847b98cbfc6ca8000e1f65b64060..69229d406c13faeaa3706dc2527d519f6609f977 100644 (file)
@@ -129,11 +129,11 @@ struct ast_filestream {
        int lastwriteformat;
        int lasttimeout;
        struct ast_channel *owner;
-       const char *orig_chan_name;
        FILE *f;
        struct ast_frame fr;    /* frame produced by read, typically */
        char *buf;              /* buffer pointed to by ast_frame; */
        void *private;  /* pointer to private buffer */
+       const char *orig_chan_name;
 };
 
 #define SEEK_FORCECUR  10