[Asterisk-cvs] asterisk/include/asterisk chanvars.h,1.4,1.5

markster at lists.digium.com markster at lists.digium.com
Mon Nov 1 10:46:06 CST 2004


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv21597/include/asterisk

Modified Files:
	chanvars.h 
Log Message:
Little variable optimizations


Index: chanvars.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/chanvars.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- chanvars.h	1 Nov 2004 02:23:28 -0000	1.4
+++ chanvars.h	1 Nov 2004 15:48:42 -0000	1.5
@@ -17,9 +17,9 @@
 #include <asterisk/linkedlists.h>
 
 struct ast_var_t {
-	char *name;
-	char *value;
 	AST_LIST_ENTRY(ast_var_t) entries;
+	char *value;
+	char name[0];
 };
 
 struct ast_var_t *ast_var_assign(const char *name, const char *value);




More information about the svn-commits mailing list