diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-03-06 12:19:33 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-03-06 12:19:33 +0000 |
commit | 4cf1baf7ba1ea51fb54de11a446a117737a93647 (patch) | |
tree | 6c744990c546229c17268719fdc30fe3a5a248f8 /kconfig | |
parent | c4f56a7c521da215027f729c805b5dc0f96e7248 (diff) | |
download | crosstool-ng-4cf1baf7ba1ea51fb54de11a446a117737a93647.tar.gz crosstool-ng-4cf1baf7ba1ea51fb54de11a446a117737a93647.tar.bz2 crosstool-ng-4cf1baf7ba1ea51fb54de11a446a117737a93647.zip |
Update the kconfig stuff from git.kernel.org.
Commit eaa2a87460eca27ce725d63bbcf3b2da053828b7
/trunk/kconfig/expr.h | 8 6 2 0 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Diffstat (limited to 'kconfig')
-rw-r--r-- | kconfig/expr.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kconfig/expr.h b/kconfig/expr.h index 9d4cba1c..455f2c87 100644 --- a/kconfig/expr.h +++ b/kconfig/expr.h @@ -65,9 +65,13 @@ enum symbol_type { S_UNKNOWN, S_BOOLEAN, S_TRISTATE, S_INT, S_HEX, S_STRING, S_OTHER }; +/* enum values are used as index to symbol.def[] */ enum { S_DEF_USER, /* main user value */ - S_DEF_AUTO, + S_DEF_AUTO, /* values read from auto.conf */ + S_DEF_DEF3, /* Reserved for UI usage */ + S_DEF_DEF4, /* Reserved for UI usage */ + S_DEF_COUNT }; struct symbol { @@ -75,7 +79,7 @@ struct symbol { char *name; enum symbol_type type; struct symbol_value curr; - struct symbol_value def[4]; + struct symbol_value def[S_DEF_COUNT]; tristate visible; int flags; struct property *prop; |