summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2008-07-21 06:28:25 +0400
committerSam Ravnborg <sam@ravnborg.org>2008-08-01 01:01:31 +0400
commit3b40d38120c32798a4be8d8052f028deeca9d581 (patch)
treea604634c5beb25c0a60e048117294fbe6fb15c45 /scripts
parent94aa3d716ee0244cc5b9f2ab3745aed5fdfa30e0 (diff)
downloadlinux-3b40d38120c32798a4be8d8052f028deeca9d581.tar.xz
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.c2
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);