Commit 3b40d381 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Sam Ravnborg

kbuild: genksyms: Include extern information in dumps

The extern flag currently is not included in type dump files
(genksyms --dump-types). Include that flag there for completeness.
Signed-off-by: default avatarAndreas Gruenbacher <agruen@suse.de>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 94aa3d71
...@@ -545,6 +545,8 @@ int main(int argc, char **argv) ...@@ -545,6 +545,8 @@ int main(int argc, char **argv)
} }
fputs(sym->name, dumpfile); fputs(sym->name, dumpfile);
putc(' ', dumpfile); putc(' ', dumpfile);
if (sym->is_extern)
fputs("extern ", dumpfile);
print_list(dumpfile, sym->defn); print_list(dumpfile, sym->defn);
putc('\n', dumpfile); putc('\n', dumpfile);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment