kconfig: use yylineno option instead of manual lineno increments
[carl9170fw.git] / config / lkc.h
index 4e23febbe4b2836451ab91327c634b268555bc53..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);
@@ -115,6 +116,7 @@ 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;