[asterisk-commits] mmichelson: branch mmichelson/lock_backtraces r116403 - /team/mmichelson/lock...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 14 14:10:57 CDT 2008


Author: mmichelson
Date: Wed May 14 14:10:57 2008
New Revision: 116403

URL: http://svn.digium.com/view/asterisk?view=rev&rev=116403
Log:
Changing the alloced field of the ast_bt struct to be a single
bit instead of an int based on a recommendation from Russell.


Modified:
    team/mmichelson/lock_backtraces/include/asterisk/logger.h

Modified: team/mmichelson/lock_backtraces/include/asterisk/logger.h
URL: http://svn.digium.com/view/asterisk/team/mmichelson/lock_backtraces/include/asterisk/logger.h?view=diff&rev=116403&r1=116402&r2=116403
==============================================================================
--- team/mmichelson/lock_backtraces/include/asterisk/logger.h (original)
+++ team/mmichelson/lock_backtraces/include/asterisk/logger.h Wed May 14 14:10:57 2008
@@ -229,7 +229,7 @@
 struct ast_bt {
 	void *addresses[AST_MAX_BT_FRAMES];
 	int num_frames;
-	int alloced;
+	unsigned int alloced:1;
 };
 
 struct ast_bt *ast_bt_create(void);




More information about the asterisk-commits mailing list