kconfig/expr.h
changeset 1234 20da13326d14
parent 943 1cca90ce0481
child 1235 1cb6cf834483
     1.1 --- a/kconfig/expr.h	Fri Oct 17 12:47:53 2008 +0000
     1.2 +++ b/kconfig/expr.h	Fri Mar 06 12:19:33 2009 +0000
     1.3 @@ -65,9 +65,13 @@
     1.4  	S_UNKNOWN, S_BOOLEAN, S_TRISTATE, S_INT, S_HEX, S_STRING, S_OTHER
     1.5  };
     1.6  
     1.7 +/* enum values are used as index to symbol.def[] */
     1.8  enum {
     1.9  	S_DEF_USER,		/* main user value */
    1.10 -	S_DEF_AUTO,
    1.11 +	S_DEF_AUTO,		/* values read from auto.conf */
    1.12 +	S_DEF_DEF3,		/* Reserved for UI usage */
    1.13 +	S_DEF_DEF4,		/* Reserved for UI usage */
    1.14 +	S_DEF_COUNT
    1.15  };
    1.16  
    1.17  struct symbol {
    1.18 @@ -75,7 +79,7 @@
    1.19  	char *name;
    1.20  	enum symbol_type type;
    1.21  	struct symbol_value curr;
    1.22 -	struct symbol_value def[4];
    1.23 +	struct symbol_value def[S_DEF_COUNT];
    1.24  	tristate visible;
    1.25  	int flags;
    1.26  	struct property *prop;