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:
Andreas Gruenbacher 2008-07-21 04:28:25 +02:00 committed by Sam Ravnborg
parent 94aa3d716e
commit 3b40d38120

View file

@ -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);