[asterisk-commits] russell: trunk r175983 - /trunk/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Feb 15 20:54:42 CST 2009


Author: russell
Date: Sun Feb 15 20:54:42 2009
New Revision: 175983

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=175983
Log:
Make the causes array static, and remove the type name as it is not needed.

Modified:
    trunk/main/channel.c

Modified: trunk/main/channel.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/main/channel.c?view=diff&rev=175983&r1=175982&r2=175983
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Sun Feb 15 20:54:42 2009
@@ -131,7 +131,7 @@
  *
  * \ref causes.h
 */
-const struct ast_cause {
+static const struct {
 	int cause;
 	const char *name;
 	const char *desc;




More information about the asterisk-commits mailing list