summaryrefslogtreecommitdiff
path: root/extra/config/lkc.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-18 03:12:04 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-18 03:12:04 +0000
commit85b6ebca5cef107dfafa9150605aaae1f8c51827 (patch)
tree707e493a5ee7b4ebcd18d142c88654f746e98d4b /extra/config/lkc.h
parentfec64b1a416cfeb0c9e57292924293d246251c8d (diff)
sync with kernel
Diffstat (limited to 'extra/config/lkc.h')
-rw-r--r--extra/config/lkc.h18
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);