aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/file.h
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 /include/asterisk/file.h
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 'include/asterisk/file.h')
-rw-r--r--include/asterisk/file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h
index cada23413..fc1aa2157 100644
--- a/include/asterisk/file.h
+++ b/include/asterisk/file.h
@@ -132,7 +132,7 @@ struct ast_filestream {
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 */
+ void *_private; /* pointer to private buffer */
const char *orig_chan_name;
};