kconfig: use yylineno option instead of manual lineno increments
[carl9170fw.git] / config / lkc.h
index 16cb62b92650db6373e808b6e94f6dda076d6dff..f4394af6e4b81c8d0c0f18acf6eb97852e79cc72 100644 (file)
@@ -68,6 +68,7 @@ struct kconf_id {
        enum symbol_type stype;
 };
 
+extern int yylineno;
 void zconfdump(FILE *out);
 void zconf_starthelp(void);
 FILE *zconf_fopen(const char *name);
@@ -114,6 +115,8 @@ struct file *file_lookup(const char *name);
 int file_write_dep(const char *name);
 void *xmalloc(size_t size);
 void *xcalloc(size_t nmemb, size_t size);
+void *xrealloc(void *p, size_t size);
+char *xstrdup(const char *s);
 
 struct gstr {
        size_t len;