mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 10:45:49 +00:00
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: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
parent
94aa3d716e
commit
3b40d38120
@ -545,6 +545,8 @@ int main(int argc, char **argv)
|
||||
}
|
||||
fputs(sym->name, dumpfile);
|
||||
putc(' ', dumpfile);
|
||||
if (sym->is_extern)
|
||||
fputs("extern ", dumpfile);
|
||||
print_list(dumpfile, sym->defn);
|
||||
putc('\n', dumpfile);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user