Skip to content

Commit 3b40d38

Browse files
Andreas Gruenbachersravnborg
authored andcommitted
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>
1 parent 94aa3d7 commit 3b40d38

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎scripts/genksyms/genksyms.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,8 @@ int main(int argc, char **argv)
545545
}
546546
fputs(sym->name, dumpfile);
547547
putc(' ', dumpfile);
548+
if (sym->is_extern)
549+
fputs("extern ", dumpfile);
548550
print_list(dumpfile, sym->defn);
549551
putc('\n', dumpfile);
550552

0 commit comments

Comments
 (0)