From 96326f5aa1d9b272e6930544f273dd33c62c11f5 Mon Sep 17 00:00:00 2001 From: Russell Bryant <russell@russellbryant.com> Date: Mon, 16 Feb 2009 02:54:42 +0000 Subject: [PATCH] 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 --- main/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- GitLab