From: Andreas Gruenbacher Date: Mon, 21 Jul 2008 02:28:25 +0000 (+0200) Subject: kbuild: genksyms: Include extern information in dumps X-Git-Tag: v2.6.27-rc2~98^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3b40d38120c32798a4be8d8052f028deeca9d581;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Sam Ravnborg --- 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);