Skip to content

Commit

Permalink
kbuild: genksyms: Include extern information in dumps
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andreas Gruenbacher authored and sravnborg committed Jul 31, 2008
1 parent 94aa3d7 commit 3b40d38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/genksyms/genksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3b40d38

Please sign in to comment.