diff options
Diffstat (limited to 'include/asterisk/file.h')
-rw-r--r-- | include/asterisk/file.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h index fc1aa2157..636309bc4 100644 --- a/include/asterisk/file.h +++ b/include/asterisk/file.h @@ -132,7 +132,13 @@ 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 */ + /* pointer to private buffer */ + union { + void *_private; +#if !defined(__cplusplus) && !defined(c_plusplus) + void *private attribute_deprecated; +#endif + }; const char *orig_chan_name; }; |