aboutsummaryrefslogtreecommitdiff
path: root/scripts/genksyms
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2008-07-21 04:28:25 +0200
committerSam Ravnborg <sam@ravnborg.org>2008-07-31 23:01:31 +0200
commit3b40d38120c32798a4be8d8052f028deeca9d581 (patch)
treea604634c5beb25c0a60e048117294fbe6fb15c45 /scripts/genksyms
parent94aa3d716ee0244cc5b9f2ab3745aed5fdfa30e0 (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/genksyms')
-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 4f8a3007e45..c249274e005 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);