projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94aa3d7
)
kbuild: genksyms: Include extern information in dumps
author
Andreas Gruenbacher
<agruen@suse.de>
Mon, 21 Jul 2008 02:28:25 +0000
(
04:28
+0200)
committer
Sam Ravnborg
<sam@ravnborg.org>
Thu, 31 Jul 2008 21:01:31 +0000
(23:01 +0200)
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>
scripts/genksyms/genksyms.c
patch
|
blob
|
history
diff --git
a/scripts/genksyms/genksyms.c
b/scripts/genksyms/genksyms.c
index
4f8a300
..
c249274
100644
(file)
--- 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);