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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue