diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2008-07-21 04:28:25 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-07-31 23:01:31 +0200 |
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) } fputs(sym->name, dumpfile); putc(' ', dumpfile); + if (sym->is_extern) + fputs("extern ", dumpfile); print_list(dumpfile, sym->defn); putc('\n', dumpfile); |