Use of "private" as a field name in a header file messes with C++ projects

Reported by: chewbacca
Patch by: casper
(Closes issue #11401)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@90155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2007-11-29 17:29:59 +00:00
parent e356cd95f3
commit 2c11f7d18e
9 changed files with 22 additions and 22 deletions

View File

@@ -80,7 +80,7 @@ static struct ast_frame *h263_read(struct ast_filestream *s, int *whennext)
int mark;
unsigned short len;
unsigned int ts;
struct h263_desc *fs = (struct h263_desc *)s->private;
struct h263_desc *fs = (struct h263_desc *)s->_private;
/* Send a frame from the file to the appropriate channel */
if ((res = fread(&len, 1, sizeof(len), s->f)) < 1)