projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/scripts/genksyms/genksyms.c
b/scripts/genksyms/genksyms.c
index 4f8a3007e45706117a74fe316a28c28c7e46486f..c249274e005a93144c29759d877419a3d196423e 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);