diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2008-07-20 22:28:25 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-07-31 17:01:31 -0400 |
commit | 3b40d38120c32798a4be8d8052f028deeca9d581 (patch) | |
tree | a604634c5beb25c0a60e048117294fbe6fb15c45 /scripts | |
parent | 94aa3d716ee0244cc5b9f2ab3745aed5fdfa30e0 (diff) |
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/genksyms/genksyms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/genksyms/genksyms.c b/scripts/genksyms/genksyms.c index 4f8a3007e457..c249274e005a 100644 --- a/scripts/genksyms/genksyms.c +++ b/scripts/genksyms/genksyms.c | |||
@@ -545,6 +545,8 @@ int main(int argc, char **argv) | |||
545 | } | 545 | } |
546 | fputs(sym->name, dumpfile); | 546 | fputs(sym->name, dumpfile); |
547 | putc(' ', dumpfile); | 547 | putc(' ', dumpfile); |
548 | if (sym->is_extern) | ||
549 | fputs("extern ", dumpfile); | ||
548 | print_list(dumpfile, sym->defn); | 550 | print_list(dumpfile, sym->defn); |
549 | putc('\n', dumpfile); | 551 | putc('\n', dumpfile); |
550 | 552 | ||