summaryrefslogtreecommitdiff
path: root/extra/config/lkc.h
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2005-04-18 15:59:49 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2005-04-18 15:59:49 +0000
commitf66a762344d77b8e4a4d50e68896638a234dc631 (patch)
tree9b3bf1632a7dd59c788d998b24efa084c9f6ea0a /extra/config/lkc.h
parent5178925d7b23c6fd5c79d602c9e873cb9ba50ea2 (diff)
Updated to match Linux 2.6.11.
Diffstat (limited to 'extra/config/lkc.h')
-rw-r--r--extra/config/lkc.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/extra/config/lkc.h b/extra/config/lkc.h
index dd040f7a8..b8a67fc9d 100644
--- a/extra/config/lkc.h
+++ b/extra/config/lkc.h
@@ -56,11 +56,21 @@ 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);
void menu_set_type(int type);
+
+/* util.c */
struct file *file_lookup(const char *name);
int file_write_dep(const char *name);
-extern struct menu *current_entry;
-extern struct menu *current_menu;
+struct gstr {
+ size_t len;
+ char *s;
+};
+struct gstr str_new(void);
+struct gstr str_assign(const char *s);
+void str_free(struct gstr *gs);
+void str_append(struct gstr *gs, const char *s);
+void str_printf(struct gstr *gs, const char *fmt, ...);
+const char *str_get(struct gstr *gs);
/* symbol.c */
void sym_init(void);