aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-29 17:29:59 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-29 17:29:59 +0000
commit8417f20fe68be3b186eedbaffd3e5462f5153111 (patch)
tree797602764292bb013738ea847efe6813375f71a7 /main
parent0005174a58a7f131509d96f431eadedf64624326 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@90155 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/file.c b/main/file.c
index fcdc35746..aae5093f7 100644
--- a/main/file.c
+++ b/main/file.c
@@ -299,7 +299,7 @@ static struct ast_filestream *get_filestream(struct ast_format *fmt, FILE *bfile
s->f = bfile;
if (fmt->desc_size)
- s->private = ((char *)(s+1)) + fmt->buf_size;
+ s->_private = ((char *)(s+1)) + fmt->buf_size;
if (fmt->buf_size)
s->buf = (char *)(s+1);
s->fr.src = fmt->name;