From: Russell Bryant Date: Mon, 16 Feb 2009 02:54:42 +0000 (+0000) Subject: Make the causes array static, and remove the type name as it is not needed. X-Git-Tag: 1.6.2.0-beta1~220 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=96326f5aa1d9b272e6930544f273dd33c62c11f5;p=thirdparty%2Fasterisk.git Make the causes array static, and remove the type name as it is not needed. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@175983 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/channel.c b/main/channel.c index 6c01444917..f094333877 100644 --- a/main/channel.c +++ b/main/channel.c @@ -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;