diff options
Diffstat (limited to 'extra/config/lkc.h')
-rw-r--r-- | extra/config/lkc.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/extra/config/lkc.h b/extra/config/lkc.h index b8a67fc9d..5e5073a3b 100644 --- a/extra/config/lkc.h +++ b/extra/config/lkc.h @@ -8,6 +8,8 @@ #include "expr.h" +//#include <libintl.h> + #ifdef __cplusplus extern "C" { #endif @@ -23,6 +25,20 @@ extern "C" { #define SRCTREE "srctree" +#define PACKAGE "linux" +#define LOCALEDIR "/usr/share/locale" + +#if 0 +#define _(text) gettext(text) +#define N_(text) (text) +#else +#define _(text) (text) +#define N_(text) (text) +#define setlocale(a,b) +#define bindtextdomain(p,l) +#define textdomain(p) +#endif + int zconfparse(void); void zconfdump(FILE *out); @@ -51,7 +67,7 @@ void menu_add_entry(struct symbol *sym); void menu_end_entry(void); void menu_add_dep(struct expr *dep); struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep); -void menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); +struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); void menu_finalize(struct menu *parent); |