projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kconfig: Get rid of the P() macro in headers
[carl9170fw.git]
/
config
/
lkc.h
diff --git
a/config/lkc.h
b/config/lkc.h
index f8aee5fc6d5e607625fc9e7f93bcbcf7f2e9f13b..e418a30bbc40842e3ac7b6d54927eb1007d98d98 100644
(file)
--- a/
config/lkc.h
+++ b/
config/lkc.h
@@
-21,9
+21,7
@@
static inline char *bind_textdomain_codeset(const char *dn, char *c) { return c;
extern "C" {
#endif
extern "C" {
#endif
-#define P(name,type,arg) extern type name arg
#include "lkc_proto.h"
#include "lkc_proto.h"
-#undef P
#define SRCTREE "srctree"
#define SRCTREE "srctree"
@@
-61,6
+59,7
@@
enum conf_def_mode {
#define T_OPT_MODULES 1
#define T_OPT_DEFCONFIG_LIST 2
#define T_OPT_ENV 3
#define T_OPT_MODULES 1
#define T_OPT_DEFCONFIG_LIST 2
#define T_OPT_ENV 3
+#define T_OPT_ALLNOCONFIG_Y 4
struct kconf_id {
int name;
struct kconf_id {
int name;
@@
-86,7
+85,8
@@
const char *conf_get_autoconfig_name(void);
char *conf_get_default_confname(void);
void sym_set_change_count(int count);
void sym_add_change_count(int count);
char *conf_get_default_confname(void);
void sym_set_change_count(int count);
void sym_add_change_count(int count);
-void conf_set_all_new_symbols(enum conf_def_mode mode);
+bool conf_set_all_new_symbols(enum conf_def_mode mode);
+void set_all_choice_values(struct symbol *csym);
struct conf_printer {
void (*print_symbol)(FILE *, struct symbol *, const char *, void *);
struct conf_printer {
void (*print_symbol)(FILE *, struct symbol *, const char *, void *);