[asterisk-commits] trunk r33997 - /trunk/build_tools/menuselect.h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jun 13 20:00:16 MST 2006


Author: russell
Date: Tue Jun 13 22:00:15 2006
New Revision: 33997

URL: http://svn.digium.com/view/asterisk?rev=33997&view=rev
Log:
indicate which options are just binary and don't really need a full integer

Modified:
    trunk/build_tools/menuselect.h

Modified: trunk/build_tools/menuselect.h
URL: http://svn.digium.com/view/asterisk/trunk/build_tools/menuselect.h?rev=33997&r1=33996&r2=33997&view=diff
==============================================================================
--- trunk/build_tools/menuselect.h (original)
+++ trunk/build_tools/menuselect.h Tue Jun 13 22:00:15 2006
@@ -53,11 +53,11 @@
 	/*! Default setting */
 	const char *defaultenabled;
 	/*! This module is currently selected */
-	int enabled;
+	int enabled:1;
 	/*! This module has failed dependencies */
-	int depsfailed;
+	int depsfailed:1;
 	/*! This module has failed conflicts */
-	int conflictsfailed;
+	int conflictsfailed:1;
 	/*! dependencies of this module */
 	AST_LIST_HEAD_NOLOCK(, depend) deps;
 	/*! conflicts of this module */
@@ -72,9 +72,9 @@
 	/*! the name displayed in the menu */
 	const char *displayname;
 	/*! Display what is selected, as opposed to not selected */
-	int positive_output;
+	int positive_output:1;
 	/*! Force a clean of the source tree if anything in this category changes */
-	int force_clean_on_change;
+	int force_clean_on_change:1;
 	/*! the list of possible values to be set in this variable */
 	AST_LIST_HEAD_NOLOCK(, member) members;
 	/*! for linking */



More information about the asterisk-commits mailing list