Summary: | ASTERISK-07142: [patch] fix DEBUG_CHANNEL_LOCKS build (eliminate warnings) | ||
Reporter: | Andrey S Pankov (casper) | Labels: | |
Date Opened: | 2006-06-09 21:06:50 | Date Closed: | 2006-06-11 16:42:26 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) lock.h.r33419.diff | |
Description: | It seems like we need to forward declare "struct ast_channel" to avoid warnings: ../include/asterisk/lock.h:787: warning: "struct ast_channel" declared inside parameter list ../include/asterisk/lock.h:787: warning: its scope is only this definition or declaration, which is probably not what you want ../include/asterisk/lock.h:792: warning: "struct ast_channel" declared inside parameter list ../include/asterisk/lock.h:796: warning: "struct ast_channel" declared inside parameter list | ||
Comments: | By: Russell Bryant (russell) 2006-06-11 16:42:26 added to the trunk in revision 33550, thanks |