1
0
Fork 0

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>
wifi-calibration
Andreas Gruenbacher 2008-07-21 04:28:25 +02:00 committed by Sam Ravnborg
parent 94aa3d716e
commit 3b40d38120
1 changed files with 2 additions and 0 deletions

View File

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