Make the causes array static, and remove the type name as it is not needed.
authorRussell Bryant <russell@russellbryant.com>
Mon, 16 Feb 2009 02:54:42 +0000 (02:54 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 16 Feb 2009 02:54:42 +0000 (02:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@175983 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 6c01444..f094333 100644 (file)
@@ -131,7 +131,7 @@ static AST_RWLIST_HEAD_STATIC(channels, ast_channel);
  *
  * \ref causes.h
 */
-const struct ast_cause {
+static const struct {
        int cause;
        const char *name;
        const char *desc;