summaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-18 19:26:27 +0000
committerTom Tromey <tromey@redhat.com>2012-12-18 19:26:27 +0000
commit8185ea140927e7447b3b66cef68ad1bc32ac6e3c (patch)
tree71b8417aad4815860f76c4ba1bf5f646a78b3a7f /gdb/Makefile.in
parent78ec0b30e02f01b667a0f42e545069ee246615fc (diff)
downloadgdb-8185ea140927e7447b3b66cef68ad1bc32ac6e3c.tar.gz
* Makefile.in (init.c): Declare initialize_all_files;
don't include call-cmds.h. * call-cmds.h: Remove. * symtab.c: Don't include call-cmds.h. * top.c: Don't include call-cmds.h. Declare initialize_all_files.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 194568b9a44..5ded1a599a5 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1140,7 +1140,7 @@ init.c: $(INIT_FILES)
@echo '/* Do not modify this file. */' >>init.c-tmp
@echo '/* It is created automatically by the Makefile. */'>>init.c-tmp
@echo '#include "defs.h" /* For initialize_file_ftype. */' >>init.c-tmp
- @echo '#include "call-cmds.h" /* For initialize_all_files. */' >>init.c-tmp
+ @echo 'extern void initialize_all_files(void);' >>init.c-tmp
@sed -e 's/\(.*\)/extern initialize_file_ftype _initialize_\1;/' <init.l-tmp >>init.c-tmp
@echo 'void' >>init.c-tmp
@echo 'initialize_all_files (void)' >>init.c-tmp