]> err.no Git - linux-2.6/blobdiff - scripts/kconfig/expr.h
[AX25]: Locking dependencies fix in ax25_disconnect().
[linux-2.6] / scripts / kconfig / expr.h
index 998cf4f656b89d33a29319e4eebe9b4aa20ead82..a195986eec6f83f0d7b76627782815855fc845fe 100644 (file)
@@ -65,19 +65,18 @@ enum symbol_type {
 
 enum {
        S_DEF_USER,             /* main user value */
+       S_DEF_AUTO,
 };
 
 struct symbol {
        struct symbol *next;
        char *name;
-       char *help;
        enum symbol_type type;
        struct symbol_value curr;
        struct symbol_value def[4];
        tristate visible;
        int flags;
        struct property *prop;
-       struct expr *dep, *dep2;
        struct expr_value rev_dep;
 };
 
@@ -97,7 +96,7 @@ struct symbol {
 #define SYMBOL_WARNED          0x8000
 #define SYMBOL_DEF             0x10000
 #define SYMBOL_DEF_USER                0x10000
-#define SYMBOL_DEF2            0x20000
+#define SYMBOL_DEF_AUTO                0x20000
 #define SYMBOL_DEF3            0x40000
 #define SYMBOL_DEF4            0x80000
 
@@ -138,7 +137,7 @@ struct menu {
        struct property *prompt;
        struct expr *dep;
        unsigned int flags;
-       //char *help;
+       char *help;
        struct file *file;
        int lineno;
        void *data;
@@ -155,6 +154,7 @@ struct file *lookup_file(const char *name);
 
 extern struct symbol symbol_yes, symbol_no, symbol_mod;
 extern struct symbol *modules_sym;
+extern struct symbol *sym_defconfig_list;
 extern int cdebug;
 struct expr *expr_alloc_symbol(struct symbol *sym);
 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce);