]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove unnecessary function prototypes.
authorJohn Baldwin <jhb@FreeBSD.org>
Sat, 9 Sep 2017 18:02:37 +0000 (11:02 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Sat, 9 Sep 2017 18:02:37 +0000 (11:02 -0700)
These prototypes were required when compiling GDB as C but are not
required for C++.

gdb/ChangeLog:

* aarch64-linux-nat.c: Remove _initialize_aarch64_linux_nat
prototype.
* aarch64-linux-tdep.c: Remove _initialize_aarch64_linux_tdep
prototype.
* aarch64-newlib-tdep.c: Remove _initialize_aarch64_newlib_tdep
prototype.
* aarch64-tdep.c: Remove _initialize_aarch64_tdep prototype.
* ada-exp.y: Remove _initialize_ada_exp prototype.
* ada-lang.c: Remove _initialize_ada_language prototype.
* ada-tasks.c: Remove _initialize_tasks prototype.
* addrmap.c: Remove _initialize_addrmap prototype.
* agent.c: Remove _initialize_agent prototype.
* aix-thread.c: Remove _initialize_aix_thread prototype.
* alpha-bsd-nat.c: Remove _initialize_alphabsd_nat prototype.
* alpha-linux-nat.c: Remove _initialize_alpha_linux_nat prototype.
* alpha-linux-tdep.c: Remove _initialize_alpha_linux_tdep
prototype.
* alpha-nbsd-tdep.c: Remove _initialize_alphanbsd_tdep prototype.
* alpha-obsd-tdep.c: Remove _initialize_alphaobsd_tdep prototype.
* alpha-tdep.c: Remove _initialize_alpha_tdep prototype.
* amd64-darwin-tdep.c: Remove _initialize_amd64_darwin_tdep
prototype.
* amd64-dicos-tdep.c: Remove _initialize_amd64_dicos_tdep
prototype.
* amd64-fbsd-nat.c: Remove _initialize_amd64fbsd_nat prototype.
* amd64-fbsd-tdep.c: Remove _initialize_amd64fbsd_tdep prototype.
* amd64-linux-nat.c: Remove _initialize_amd64_linux_nat prototype.
* amd64-linux-tdep.c: Remove _initialize_amd64_linux_tdep
prototype.
* amd64-nbsd-nat.c: Remove _initialize_amd64nbsd_nat prototype.
* amd64-nbsd-tdep.c: Remove _initialize_amd64nbsd_tdep prototype.
* amd64-obsd-nat.c: Remove _initialize_amd64obsd_nat prototype.
* amd64-obsd-tdep.c: Remove _initialize_amd64obsd_tdep prototype.
* amd64-sol2-tdep.c: Remove _initialize_amd64_sol2_tdep prototype.
* amd64-tdep.c: Remove _initialize_amd64_tdep prototype.
* amd64-windows-nat.c: Remove _initialize_amd64_windows_nat
prototype.
* amd64-windows-tdep.c: Remove _initialize_amd64_windows_tdep
prototype.
* annotate.c: Remove _initialize_annotate prototype.
* arc-newlib-tdep.c: Remove _initialize_arc_newlib_tdep prototype.
* arc-tdep.c: Remove _initialize_arc_tdep prototype.
* arch-utils.c: Remove _initialize_gdbarch_utils prototype.
* arm-linux-nat.c: Remove _initialize_arm_linux_nat prototype.
* arm-linux-tdep.c: Remove _initialize_arm_linux_tdep prototype.
* arm-nbsd-tdep.c: Remove _initialize_arm_netbsd_tdep prototype.
* arm-obsd-tdep.c: Remove _initialize_armobsd_tdep prototype.
* arm-symbian-tdep.c: Remove _initialize_arm_symbian_tdep
prototype.
* arm-tdep.c: Remove _initialize_arm_tdep prototype.
* arm-wince-tdep.c: Remove _initialize_arm_wince_tdep prototype.
* auto-load.c: Remove _initialize_auto_load prototype.
* auxv.c: Remove _initialize_auxv prototype.
* avr-tdep.c: Remove _initialize_avr_tdep prototype.
* ax-gdb.c: Remove _initialize_ax_gdb prototype.
* bfin-linux-tdep.c: Remove _initialize_bfin_linux_tdep prototype.
* bfin-tdep.c: Remove _initialize_bfin_tdep prototype.
* break-catch-sig.c: Remove _initialize_break_catch_sig prototype.
* break-catch-syscall.c: Remove _initialize_break_catch_syscall
prototype.
* break-catch-throw.c: Remove _initialize_break_catch_throw
prototype.
* breakpoint.c: Remove _initialize_breakpoint prototype.
* bsd-uthread.c: Remove _initialize_bsd_uthread prototype.
* btrace.c: Remove _initialize_btrace prototype.
* charset.c: Remove _initialize_charset prototype.
* cli/cli-cmds.c: Remove _initialize_cli_cmds prototype.
* cli/cli-dump.c: Remove _initialize_cli_dump prototype.
* cli/cli-interp.c: Remove _initialize_cli_interp prototype.
* cli/cli-logging.c: Remove _initialize_cli_logging prototype.
* cli/cli-script.c: Remove _initialize_cli_script prototype.
* coff-pe-read.c: Remove _initialize_coff_pe_read prototype.
* coffread.c: Remove _initialize_coffread prototype.
* compile/compile.c: Remove _initialize_compile prototype.
* complaints.c: Remove _initialize_complaints prototype.
* completer.c: Remove _initialize_completer prototype.
* copying.awk: Remove _initialize_copying prototype.
* copying.c: Regenerate.
* core-regset.c: Remove _initialize_core_regset prototype.
* corefile.c: Remove _initialize_core prototype.
* corelow.c: Remove _initialize_corelow prototype.
* cp-abi.c: Remove _initialize_cp_abi prototype.
* cp-namespace.c: Remove _initialize_cp_namespace prototype.
* cp-support.c: Remove _initialize_cp_support prototype.
* cp-valprint.c: Remove _initialize_cp_valprint prototype.
* cris-linux-tdep.c: Remove _initialize_cris_linux_tdep prototype.
* cris-tdep.c: Remove _initialize_cris_tdep prototype.
* ctf.c: Remove _initialize_ctf prototype.
* d-lang.c: Remove _initialize_d_language prototype.
* darwin-nat-info.c: Remove _initialize_darwin_info_commands
prototype.
* darwin-nat.c: Remove _initialize_darwin_inferior prototype.
* dbxread.c: Remove _initialize_dbxread prototype.
* dcache.c: Remove _initialize_dcache prototype.
* demangle.c: Remove _initialize_demangler prototype.
* disasm-selftests.c: Remove _initialize_disasm_selftests
prototype.
* disasm.c: Remove _initialize_disasm prototype.
* dtrace-probe.c: Remove _initialize_dtrace_probe prototype.
* dummy-frame.c: Remove _initialize_dummy_frame prototype.
* dwarf2-frame-tailcall.c: Remove _initialize_tailcall_frame
prototype.
* dwarf2-frame.c: Remove _initialize_dwarf2_frame prototype.
* dwarf2expr.c: Remove _initialize_dwarf2expr prototype.
* dwarf2loc.c: Remove _initialize_dwarf2loc prototype.
* dwarf2read.c: Remove _initialize_dwarf2_read prototype.
* elfread.c: Remove _initialize_elfread prototype.
* exec.c: Remove _initialize_exec prototype.
* extension.c: Remove _initialize_extension prototype.
* f-lang.c: Remove _initialize_f_language prototype.
* f-valprint.c: Remove _initialize_f_valprint prototype.
* fbsd-nat.c: Remove _initialize_fbsd_nat prototype.
* fbsd-tdep.c: Remove _initialize_fbsd_tdep prototype.
* filesystem.c: Remove _initialize_filesystem prototype.
* findcmd.c: Remove _initialize_mem_search prototype.
* fork-child.c: Remove _initialize_fork_child prototype.
* frame-base.c: Remove _initialize_frame_base prototype.
* frame-unwind.c: Remove _initialize_frame_unwind prototype.
* frame.c: Remove _initialize_frame prototype.
* frv-linux-tdep.c: Remove _initialize_frv_linux_tdep prototype.
* frv-tdep.c: Remove _initialize_frv_tdep prototype.
* ft32-tdep.c: Remove _initialize_ft32_tdep prototype.
* gcore.c: Remove _initialize_gcore prototype.
* gdb_bfd.c: Remove _initialize_gdb_bfd prototype.
* gdbarch.c: Regenerate.
* gdbarch.sh: Remove _initialize_gdbarch prototype.
* gdbtypes.c: Remove _initialize_gdbtypes prototype.
* gnu-nat.c: Remove _initialize_gnu_nat prototype.
* gnu-v2-abi.c: Remove _initialize_gnu_v2_abi prototype.
* gnu-v3-abi.c: Remove _initialize_gnu_v3_abi prototype.
* go-lang.c: Remove _initialize_go_language prototype.
* go32-nat.c: Remove _initialize_go32_nat prototype.
* guile/guile.c: Remove _initialize_guile prototype.
* h8300-tdep.c: Remove _initialize_h8300_tdep prototype.
* hppa-linux-nat.c: Remove _initialize_hppa_linux_nat prototype.
* hppa-linux-tdep.c: Remove _initialize_hppa_linux_tdep prototype.
* hppa-nbsd-nat.c: Remove _initialize_hppanbsd_nat prototype.
* hppa-nbsd-tdep.c: Remove _initialize_hppanbsd_tdep prototype.
* hppa-obsd-nat.c: Remove _initialize_hppaobsd_nat prototype.
* hppa-obsd-tdep.c: Remove _initialize_hppaobsd_tdep prototype.
* hppa-tdep.c: Remove _initialize_hppa_tdep prototype.
* i386-bsd-nat.c: Remove _initialize_i386bsd_nat prototype.
* i386-cygwin-tdep.c: Remove _initialize_i386_cygwin_tdep
prototype.
* i386-darwin-tdep.c: Remove _initialize_i386_darwin_tdep
prototype.
* i386-dicos-tdep.c: Remove _initialize_i386_dicos_tdep prototype.
* i386-fbsd-nat.c: Remove _initialize_i386fbsd_nat prototype.
* i386-fbsd-tdep.c: Remove _initialize_i386fbsd_tdep prototype.
* i386-gnu-nat.c: Remove _initialize_i386gnu_nat prototype.
* i386-gnu-tdep.c: Remove _initialize_i386gnu_tdep prototype.
* i386-linux-nat.c: Remove _initialize_i386_linux_nat prototype.
* i386-linux-tdep.c: Remove _initialize_i386_linux_tdep prototype.
* i386-nbsd-nat.c: Remove _initialize_i386nbsd_nat prototype.
* i386-nbsd-tdep.c: Remove _initialize_i386nbsd_tdep prototype.
* i386-nto-tdep.c: Remove _initialize_i386nto_tdep prototype.
* i386-obsd-nat.c: Remove _initialize_i386obsd_nat prototype.
* i386-obsd-tdep.c: Remove _initialize_i386obsd_tdep prototype.
* i386-sol2-nat.c: Remove _initialize_amd64_sol2_nat prototype.
* i386-sol2-tdep.c: Remove _initialize_amd64_sol2_tdep prototype.
* i386-tdep.c: Remove _initialize_i386_tdep prototype.
* i386-windows-nat.c: Remove _initialize_i386_windows_nat
prototype.
* ia64-libunwind-tdep.c: Remove _initialize_libunwind_frame
prototype.
* ia64-linux-nat.c: Remove _initialize_ia64_linux_nat prototype.
* ia64-linux-tdep.c: Remove _initialize_ia64_linux_tdep prototype.
* ia64-tdep.c: Remove _initialize_ia64_tdep prototype.
* ia64-vms-tdep.c: Remove _initialize_ia64_vms_tdep prototype.
* infcall.c: Remove _initialize_infcall prototype.
* infcmd.c: Remove _initialize_infcmd prototype.
* inferior.c: Remove _initialize_inferiors prototype.
* inflow.c: Remove _initialize_inflow prototype.
* infrun.c: Remove _initialize_infrun prototype.
* interps.c: Remove _initialize_interpreter prototype.
* iq2000-tdep.c: Remove _initialize_iq2000_tdep prototype.
* jit.c: Remove _initialize_jit prototype.
* language.c: Remove _initialize_language prototype.
* linux-fork.c: Remove _initialize_linux_fork prototype.
* linux-nat.c: Remove _initialize_linux_nat prototype.
* linux-tdep.c: Remove _initialize_linux_tdep prototype.
* linux-thread-db.c: Remove _initialize_thread_db prototype.
* lm32-tdep.c: Remove _initialize_lm32_tdep prototype.
* m2-lang.c: Remove _initialize_m2_language prototype.
* m32c-tdep.c: Remove _initialize_m32c_tdep prototype.
* m32r-linux-nat.c: Remove _initialize_m32r_linux_nat prototype.
* m32r-linux-tdep.c: Remove _initialize_m32r_linux_tdep prototype.
* m32r-tdep.c: Remove _initialize_m32r_tdep prototype.
* m68hc11-tdep.c: Remove _initialize_m68hc11_tdep prototype.
* m68k-bsd-nat.c: Remove _initialize_m68kbsd_nat prototype.
* m68k-bsd-tdep.c: Remove _initialize_m68kbsd_tdep prototype.
* m68k-linux-nat.c: Remove _initialize_m68k_linux_tdep prototype.
* m68k-linux-tdep.c: Remove _initialize_m68k_linux_tdep prototype.
* m68k-tdep.c: Remove _initialize_m68k_tdep prototype.
* m88k-bsd-nat.c: Remove _initialize_m68kbsd_nat prototype.
* m88k-tdep.c: Remove _initialize_m68kbsd_tdep prototype.
* machoread.c: Remove _initialize_machoread prototype.
* macrocmd.c: Remove _initialize_macrocmd prototype.
* macroscope.c: Remove _initialize_macroscope prototype.
* maint.c: Remove _initialize_maint_cmds prototype.
* mdebugread.c: Remove _initialize_mdebugread prototype.
* memattr.c: Remove _initialize_mem prototype.
* mep-tdep.c: Remove _initialize_mep_tdep prototype.
* mi/mi-cmd-env.c: Remove _initialize_mi_cmd_env prototype.
* mi/mi-cmds.c: Remove _initialize_mi_cmds prototype.
* mi/mi-interp.c: Remove _initialize_mi_interp prototype.
* mi/mi-main.c: Remove _initialize_mi_main prototype.
* microblaze-linux-tdep.c: Remove
_initialize_microblaze_linux_tdep prototype.
* microblaze-tdep.c: Remove _initialize_microblaze_tdep prototype.
* mips-fbsd-nat.c: Remove _initialize_mips_fbsd_nat prototype.
* mips-fbsd-tdep.c: Remove _initialize_mips_fbsd_tdep prototype.
* mips-linux-nat.c: Remove _initialize_mips_linux_nat prototype.
* mips-linux-tdep.c: Remove _initialize_mips_linux_tdep prototype.
* mips-nbsd-nat.c: Remove _initialize_mipsnbsd_nat prototype.
* mips-nbsd-tdep.c: Remove _initialize_mipsnbsd_tdep prototype.
* mips-sde-tdep.c: Remove _initialize_mips_sde_tdep prototype.
* mips-tdep.c: Remove _initialize_mips_tdep prototype.
* mips64-obsd-nat.c: Remove _initialize_mips64obsd_nat prototype.
* mips64-obsd-tdep.c: Remove _initialize_mips64obsd_tdep
prototype.
* mipsread.c: Remove _initialize_mipsread prototype.
* mn10300-linux-tdep.c: Remove _initialize_mn10300_linux_tdep
prototype.
* mn10300-tdep.c: Remove _initialize_mn10300_tdep prototype.
* moxie-tdep.c: Remove _initialize_moxie_tdep prototype.
* msp430-tdep.c: Remove _initialize_msp430_tdep prototype.
* mt-tdep.c: Remove _initialize_mt_tdep prototype.
* nds32-tdep.c: Remove _initialize_nds32_tdep prototype.
* nios2-linux-tdep.c: Remove _initialize_nios2_linux_tdep
prototype.
* nios2-tdep.c: Remove _initialize_nios2_tdep prototype.
* nto-procfs.c: Remove _initialize_procfs prototype.
* nto-tdep.c: Remove _initialize_nto_tdep prototype.
* objc-lang.c: Remove _initialize_objc_language prototype.
* objfiles.c: Remove _initialize_objfiles prototype.
* observer.c: Remove observer_test_first_notification_function,
observer_test_second_notification_function,
observer_test_third_notification_function, and
_initialize_observer prototypes.
* opencl-lang.c: Remove _initialize_opencl_language prototypes.
* osabi.c: Remove _initialize_gdb_osabi prototype.
* osdata.c: Remove _initialize_osdata prototype.
* p-valprint.c: Remove _initialize_pascal_valprint prototype.
* parse.c: Remove _initialize_parse prototype.
* ppc-fbsd-nat.c: Remove _initialize_ppcfbsd_nat prototype.
* ppc-fbsd-tdep.c: Remove _initialize_ppcfbsd_tdep prototype.
* ppc-linux-nat.c: Remove _initialize_ppc_linux_nat prototype.
* ppc-linux-tdep.c: Remove _initialize_ppc_linux_tdep prototype.
* ppc-nbsd-nat.c: Remove _initialize_ppcnbsd_nat prototype.
* ppc-nbsd-tdep.c: Remove _initialize_ppcnbsd_tdep prototype.
* ppc-obsd-nat.c: Remove _initialize_ppcobsd_nat prototype.
* ppc-obsd-tdep.c: Remove _initialize_ppcobsd_tdep prototype.
* printcmd.c: Remove _initialize_printcmd prototype.
* probe.c: Remove _initialize_probe prototype.
* proc-api.c: Remove _initialize_proc_api prototype.
* proc-events.c: Remove _initialize_proc_events prototype.
* proc-service.c: Remove _initialize_proc_service prototype.
* procfs.c: Remove _initialize_procfs prototype.
* psymtab.c: Remove _initialize_psymtab prototype.
* python/python.c: Remove _initialize_python prototype.
* ravenscar-thread.c: Remove _initialize_ravenscar prototype.
* record-btrace.c: Remove _initialize_record_btrace prototype.
* record-full.c: Remove _initialize_record_full prototype.
* record.c: Remove _initialize_record prototype.
* regcache.c: Remove _initialize_regcache prototype.
* reggroups.c: Remove _initialize_reggroup prototype.
* remote-notif.c: Remove _initialize_notif prototype.
* remote-sim.c: Remove _initialize_remote_sim prototype.
* remote.c: Remove _initialize_remote prototype.
* reverse.c: Remove _initialize_reverse prototype.
* rl78-tdep.c: Remove _initialize_rl78_tdep prototype.
* rs6000-aix-tdep.c: Remove _initialize_rs6000_aix_tdep prototype.
* rs6000-lynx178-tdep.c: Remove _initialize_rs6000_lynx178_tdep
prototype.
* rs6000-nat.c: Remove _initialize_rs6000_nat prototype.
* rs6000-tdep.c: Remove _initialize_rs6000_tdep prototype.
* rust-exp.y: Remove _initialize_rust_exp prototype.
* rx-tdep.c: Remove _initialize_rx_tdep prototype.
* s390-linux-nat.c: Remove _initialize_s390_nat prototype.
* s390-linux-tdep.c: Remove _initialize_s390_tdep prototype.
* score-tdep.c: Remove _initialize_score_tdep prototype.
* selftest-arch.c: Remove _initialize_selftests_foreach_arch
prototype.
* ser-go32.c: Remove _initialize_ser_dos prototype.
* ser-mingw.c: Remove _initialize_ser_windows prototype.
* ser-pipe.c: Remove _initialize_ser_pipe prototype.
* ser-tcp.c: Remove _initialize_ser_tcp prototype.
* ser-unix.c: Remove _initialize_ser_hardwire prototype.
* serial.c: Remove _initialize_serial prototype.
* sh-linux-tdep.c: Remove _initialize_sh_linux_tdep prototype.
* sh-nbsd-nat.c: Remove _initialize_shnbsd_nat prototype.
* sh-nbsd-tdep.c: Remove _initialize_shnbsd_tdep prototype.
* sh-tdep.c: Remove _initialize_sh_tdep prototype.
* skip.c: Remove _initialize_step_skip prototype.
* sol-thread.c: Remove _initialize_sol_thread prototype.
* solib-aix.c: Remove _initialize_solib_aix prototype.
* solib-darwin.c: Remove _initialize_darwin_solib prototype.
* solib-dsbt.c: Remove _initialize_dsbt_solib prototype.
* solib-frv.c: Remove _initialize_frv_solib prototype.
* solib-spu.c: Remove _initialize_spu_solib prototype.
* solib-svr4.c: Remove _initialize_svr4_solib prototype.
* solib-target.c: Remove _initialize_solib_target prototype.
* solib.c: Remove _initialize_solib prototype.
* source.c: Remove _initialize_source prototype.
* sparc-linux-nat.c: Remove _initialize_sparc_linux_nat prototype.
* sparc-linux-tdep.c: Remove _initialize_sparc_linux_tdep
prototype.
* sparc-nat.c: Remove _initialize_sparc_nat prototype.
* sparc-nbsd-nat.c: Remove _initialize_sparcnbsd_nat prototype.
* sparc-nbsd-tdep.c: Remove _initialize_sparcnbsd_tdep prototype.
* sparc-obsd-tdep.c: Remove _initialize_sparc32obsd_tdep
prototype.
* sparc-sol2-nat.c: Remove _initialize_sparc_sol2_nat prototype.
* sparc-sol2-tdep.c: Remove _initialize_sparc_sol2_tdep prototype.
* sparc-tdep.c: Remove _initialize_sparc_tdep prototype.
* sparc64-fbsd-nat.c: Remove _initialize_sparc64fbsd_nat
prototype.
* sparc64-fbsd-tdep.c: Remove _initialize_sparc64fbsd_tdep
prototype.
* sparc64-linux-nat.c: Remove _initialize_sparc64_linux_nat
prototype.
* sparc64-linux-tdep.c: Remove _initialize_sparc64_linux_tdep
prototype.
* sparc64-nat.c: Remove _initialize_sparc64_nat prototype.
* sparc64-nbsd-nat.c: Remove _initialize_sparc64nbsd_nat
prototype.
* sparc64-nbsd-tdep.c: Remove _initialize_sparc64nbsd_tdep
prototype.
* sparc64-obsd-nat.c: Remove _initialize_sparc64obsd_nat
prototype.
* sparc64-obsd-tdep.c: Remove _initialize_sparc64obsd_tdep
prototype.
* sparc64-sol2-tdep.c: Remove _initialize_sparc64_sol2_tdep
prototype.
* spu-linux-nat.c: Remove _initialize_spu_nat prototype.
* spu-multiarch.c: Remove _initialize_spu_multiarch prototype.
* spu-tdep.c: Remove _initialize_spu_tdep prototype.
* stabsread.c: Remove _initialize_stabsread prototype.
* stack.c: Remove _initialize_stack prototype.
* stap-probe.c: Remove _initialize_stap_probe prototype.
* std-regs.c: Remove _initialize_frame_reg prototype.
* symfile-debug.c: Remove _initialize_symfile_debug prototype.
* symfile-mem.c: Remove _initialize_symfile_mem prototype.
* symfile.c: Remove _initialize_symfile prototype.
* symmisc.c: Remove _initialize_symmisc prototype.
* symtab.c: Remove _initialize_symtab prototype.
* target-dcache.c: Remove _initialize_target_dcache prototype.
* target-descriptions.c: Remove _initialize_target_descriptions
prototype.
* thread.c: Remove _initialize_thread prototype.
* tic6x-linux-tdep.c: Remove _initialize_tic6x_linux_tdep
prototype.
* tic6x-tdep.c: Remove _initialize_tic6x_tdep prototype.
* tilegx-linux-nat.c: Remove _initialize_tile_linux_nat prototype.
* tilegx-linux-tdep.c: Remove _initialize_tilegx_linux_tdep
prototype.
* tilegx-tdep.c: Remove _initialize_tilegx_tdep prototype.
* tracefile-tfile.c: Remove _initialize_tracefile_tfile prototype.
* tracefile.c: Remove _initialize_tracefile prototype.
* tracepoint.c: Remove _initialize_tracepoint prototype.
* tui/tui-hooks.c: Remove _initialize_tui_hooks prototype.
* tui/tui-interp.c: Remove _initialize_tui_interp prototype.
* tui/tui-layout.c: Remove _initialize_tui_layout prototype.
* tui/tui-regs.c: Remove _initialize_tui_regs prototype.
* tui/tui-stack.c: Remove _initialize_tui_stack prototype.
* tui/tui-win.c: Remove _initialize_tui_win prototype.
* tui/tui.c: Remove _initialize_tui prototype.
* typeprint.c: Remove _initialize_typeprint prototype.
* user-regs.c: Remove _initialize_user_regs prototype.
* utils.c: Remove _initialize_utils prototype.
* v850-tdep.c: Remove _initialize_v850_tdep prototype.
* valarith.c: Remove _initialize_valarith prototype.
* valops.c: Remove _initialize_valops prototype.
* valprint.c: Remove _initialize_valprint prototype.
* value.c: Remove _initialize_values prototype.
* varobj.c: Remove _initialize_varobj prototype.
* vax-bsd-nat.c: Remove _initialize_vaxbsd_nat prototype.
* vax-nbsd-tdep.c: Remove _initialize_vaxnbsd_tdep prototype.
* vax-tdep.c: Remove _initialize_vax_tdep prototype.
* windows-nat.c: Remove _initialize_windows_nat,
_initialize_check_for_gdb_ini, and _initialize_loadable
prototypes.
* windows-tdep.c: Remove _initialize_windows_tdep prototype.
* xcoffread.c: Remove _initialize_xcoffread prototype.
* xml-support.c: Remove _initialize_xml_support prototype.
* xstormy16-tdep.c: Remove _initialize_xstormy16_tdep prototype.
* xtensa-linux-nat.c: Remove _initialize_xtensa_linux_nat
prototype.
* xtensa-linux-tdep.c: Remove _initialize_xtensa_linux_tdep
prototype.
* xtensa-tdep.c: Remove _initialize_xtensa_tdep prototype.

347 files changed:
gdb/ChangeLog
gdb/aarch64-linux-nat.c
gdb/aarch64-linux-tdep.c
gdb/aarch64-newlib-tdep.c
gdb/aarch64-tdep.c
gdb/ada-exp.y
gdb/ada-lang.c
gdb/ada-tasks.c
gdb/addrmap.c
gdb/agent.c
gdb/aix-thread.c
gdb/alpha-bsd-nat.c
gdb/alpha-linux-nat.c
gdb/alpha-linux-tdep.c
gdb/alpha-nbsd-tdep.c
gdb/alpha-obsd-tdep.c
gdb/alpha-tdep.c
gdb/amd64-darwin-tdep.c
gdb/amd64-dicos-tdep.c
gdb/amd64-fbsd-nat.c
gdb/amd64-fbsd-tdep.c
gdb/amd64-linux-nat.c
gdb/amd64-linux-tdep.c
gdb/amd64-nbsd-nat.c
gdb/amd64-nbsd-tdep.c
gdb/amd64-obsd-nat.c
gdb/amd64-obsd-tdep.c
gdb/amd64-sol2-tdep.c
gdb/amd64-tdep.c
gdb/amd64-windows-nat.c
gdb/amd64-windows-tdep.c
gdb/annotate.c
gdb/arc-newlib-tdep.c
gdb/arc-tdep.c
gdb/arch-utils.c
gdb/arm-linux-nat.c
gdb/arm-linux-tdep.c
gdb/arm-nbsd-tdep.c
gdb/arm-obsd-tdep.c
gdb/arm-symbian-tdep.c
gdb/arm-tdep.c
gdb/arm-wince-tdep.c
gdb/auto-load.c
gdb/auxv.c
gdb/avr-tdep.c
gdb/ax-gdb.c
gdb/bfin-linux-tdep.c
gdb/bfin-tdep.c
gdb/break-catch-sig.c
gdb/break-catch-syscall.c
gdb/break-catch-throw.c
gdb/breakpoint.c
gdb/bsd-uthread.c
gdb/btrace.c
gdb/charset.c
gdb/cli/cli-cmds.c
gdb/cli/cli-dump.c
gdb/cli/cli-interp.c
gdb/cli/cli-logging.c
gdb/cli/cli-script.c
gdb/coff-pe-read.c
gdb/coffread.c
gdb/compile/compile.c
gdb/complaints.c
gdb/completer.c
gdb/copying.awk
gdb/copying.c
gdb/core-regset.c
gdb/corefile.c
gdb/corelow.c
gdb/cp-abi.c
gdb/cp-namespace.c
gdb/cp-support.c
gdb/cp-valprint.c
gdb/cris-linux-tdep.c
gdb/cris-tdep.c
gdb/ctf.c
gdb/d-lang.c
gdb/darwin-nat-info.c
gdb/darwin-nat.c
gdb/dbxread.c
gdb/dcache.c
gdb/demangle.c
gdb/disasm-selftests.c
gdb/disasm.c
gdb/dtrace-probe.c
gdb/dummy-frame.c
gdb/dwarf2-frame-tailcall.c
gdb/dwarf2-frame.c
gdb/dwarf2expr.c
gdb/dwarf2loc.c
gdb/dwarf2read.c
gdb/elfread.c
gdb/exec.c
gdb/extension.c
gdb/f-lang.c
gdb/f-valprint.c
gdb/fbsd-nat.c
gdb/fbsd-tdep.c
gdb/filesystem.c
gdb/findcmd.c
gdb/fork-child.c
gdb/frame-base.c
gdb/frame-unwind.c
gdb/frame.c
gdb/frv-linux-tdep.c
gdb/frv-tdep.c
gdb/ft32-tdep.c
gdb/gcore.c
gdb/gdb_bfd.c
gdb/gdbarch.c
gdb/gdbarch.sh
gdb/gdbtypes.c
gdb/gnu-nat.c
gdb/gnu-v2-abi.c
gdb/gnu-v3-abi.c
gdb/go-lang.c
gdb/go32-nat.c
gdb/guile/guile.c
gdb/h8300-tdep.c
gdb/hppa-linux-nat.c
gdb/hppa-linux-tdep.c
gdb/hppa-nbsd-nat.c
gdb/hppa-nbsd-tdep.c
gdb/hppa-obsd-nat.c
gdb/hppa-obsd-tdep.c
gdb/hppa-tdep.c
gdb/i386-bsd-nat.c
gdb/i386-cygwin-tdep.c
gdb/i386-darwin-tdep.c
gdb/i386-dicos-tdep.c
gdb/i386-fbsd-nat.c
gdb/i386-fbsd-tdep.c
gdb/i386-gnu-nat.c
gdb/i386-gnu-tdep.c
gdb/i386-linux-nat.c
gdb/i386-linux-tdep.c
gdb/i386-nbsd-nat.c
gdb/i386-nbsd-tdep.c
gdb/i386-nto-tdep.c
gdb/i386-obsd-nat.c
gdb/i386-obsd-tdep.c
gdb/i386-sol2-nat.c
gdb/i386-sol2-tdep.c
gdb/i386-tdep.c
gdb/i386-windows-nat.c
gdb/ia64-libunwind-tdep.c
gdb/ia64-linux-nat.c
gdb/ia64-linux-tdep.c
gdb/ia64-tdep.c
gdb/ia64-vms-tdep.c
gdb/infcall.c
gdb/infcmd.c
gdb/inferior.c
gdb/inflow.c
gdb/infrun.c
gdb/interps.c
gdb/iq2000-tdep.c
gdb/jit.c
gdb/language.c
gdb/linux-fork.c
gdb/linux-nat.c
gdb/linux-tdep.c
gdb/linux-thread-db.c
gdb/lm32-tdep.c
gdb/m2-lang.c
gdb/m32c-tdep.c
gdb/m32r-linux-nat.c
gdb/m32r-linux-tdep.c
gdb/m32r-tdep.c
gdb/m68hc11-tdep.c
gdb/m68k-bsd-nat.c
gdb/m68k-bsd-tdep.c
gdb/m68k-linux-nat.c
gdb/m68k-linux-tdep.c
gdb/m68k-tdep.c
gdb/m88k-bsd-nat.c
gdb/m88k-tdep.c
gdb/machoread.c
gdb/macrocmd.c
gdb/macroscope.c
gdb/maint.c
gdb/mdebugread.c
gdb/memattr.c
gdb/mep-tdep.c
gdb/mi/mi-cmd-env.c
gdb/mi/mi-cmds.c
gdb/mi/mi-interp.c
gdb/mi/mi-main.c
gdb/microblaze-linux-tdep.c
gdb/microblaze-tdep.c
gdb/mips-fbsd-nat.c
gdb/mips-fbsd-tdep.c
gdb/mips-linux-nat.c
gdb/mips-linux-tdep.c
gdb/mips-nbsd-nat.c
gdb/mips-nbsd-tdep.c
gdb/mips-sde-tdep.c
gdb/mips-tdep.c
gdb/mips64-obsd-nat.c
gdb/mips64-obsd-tdep.c
gdb/mipsread.c
gdb/mn10300-linux-tdep.c
gdb/mn10300-tdep.c
gdb/moxie-tdep.c
gdb/msp430-tdep.c
gdb/mt-tdep.c
gdb/nds32-tdep.c
gdb/nios2-linux-tdep.c
gdb/nios2-tdep.c
gdb/nto-procfs.c
gdb/nto-tdep.c
gdb/objc-lang.c
gdb/objfiles.c
gdb/observer.c
gdb/opencl-lang.c
gdb/osabi.c
gdb/osdata.c
gdb/p-valprint.c
gdb/parse.c
gdb/ppc-fbsd-nat.c
gdb/ppc-fbsd-tdep.c
gdb/ppc-linux-nat.c
gdb/ppc-linux-tdep.c
gdb/ppc-nbsd-nat.c
gdb/ppc-nbsd-tdep.c
gdb/ppc-obsd-nat.c
gdb/ppc-obsd-tdep.c
gdb/printcmd.c
gdb/probe.c
gdb/proc-api.c
gdb/proc-events.c
gdb/proc-service.c
gdb/procfs.c
gdb/psymtab.c
gdb/python/python.c
gdb/ravenscar-thread.c
gdb/record-btrace.c
gdb/record-full.c
gdb/record.c
gdb/regcache.c
gdb/reggroups.c
gdb/remote-notif.c
gdb/remote-sim.c
gdb/remote.c
gdb/reverse.c
gdb/rl78-tdep.c
gdb/rs6000-aix-tdep.c
gdb/rs6000-lynx178-tdep.c
gdb/rs6000-nat.c
gdb/rs6000-tdep.c
gdb/rust-exp.y
gdb/rx-tdep.c
gdb/s390-linux-nat.c
gdb/s390-linux-tdep.c
gdb/score-tdep.c
gdb/selftest-arch.c
gdb/ser-go32.c
gdb/ser-mingw.c
gdb/ser-pipe.c
gdb/ser-tcp.c
gdb/ser-unix.c
gdb/serial.c
gdb/sh-linux-tdep.c
gdb/sh-nbsd-nat.c
gdb/sh-nbsd-tdep.c
gdb/sh-tdep.c
gdb/skip.c
gdb/sol-thread.c
gdb/solib-aix.c
gdb/solib-darwin.c
gdb/solib-dsbt.c
gdb/solib-frv.c
gdb/solib-spu.c
gdb/solib-svr4.c
gdb/solib-target.c
gdb/solib.c
gdb/source.c
gdb/sparc-linux-nat.c
gdb/sparc-linux-tdep.c
gdb/sparc-nat.c
gdb/sparc-nbsd-nat.c
gdb/sparc-nbsd-tdep.c
gdb/sparc-obsd-tdep.c
gdb/sparc-sol2-nat.c
gdb/sparc-sol2-tdep.c
gdb/sparc-tdep.c
gdb/sparc64-fbsd-nat.c
gdb/sparc64-fbsd-tdep.c
gdb/sparc64-linux-nat.c
gdb/sparc64-linux-tdep.c
gdb/sparc64-nat.c
gdb/sparc64-nbsd-nat.c
gdb/sparc64-nbsd-tdep.c
gdb/sparc64-obsd-nat.c
gdb/sparc64-obsd-tdep.c
gdb/sparc64-sol2-tdep.c
gdb/spu-linux-nat.c
gdb/spu-multiarch.c
gdb/spu-tdep.c
gdb/stabsread.c
gdb/stack.c
gdb/stap-probe.c
gdb/std-regs.c
gdb/symfile-debug.c
gdb/symfile-mem.c
gdb/symfile.c
gdb/symmisc.c
gdb/symtab.c
gdb/target-dcache.c
gdb/target-descriptions.c
gdb/thread.c
gdb/tic6x-linux-tdep.c
gdb/tic6x-tdep.c
gdb/tilegx-linux-nat.c
gdb/tilegx-linux-tdep.c
gdb/tilegx-tdep.c
gdb/tracefile-tfile.c
gdb/tracefile.c
gdb/tracepoint.c
gdb/tui/tui-hooks.c
gdb/tui/tui-interp.c
gdb/tui/tui-layout.c
gdb/tui/tui-regs.c
gdb/tui/tui-stack.c
gdb/tui/tui-win.c
gdb/tui/tui.c
gdb/typeprint.c
gdb/user-regs.c
gdb/utils.c
gdb/v850-tdep.c
gdb/valarith.c
gdb/valops.c
gdb/valprint.c
gdb/value.c
gdb/varobj.c
gdb/vax-bsd-nat.c
gdb/vax-nbsd-tdep.c
gdb/vax-tdep.c
gdb/windows-nat.c
gdb/windows-tdep.c
gdb/xcoffread.c
gdb/xml-support.c
gdb/xstormy16-tdep.c
gdb/xtensa-linux-nat.c
gdb/xtensa-linux-tdep.c
gdb/xtensa-tdep.c

index 96369d5e5fefe8d26829acbca0a39214d46cd082..ae6f2c9e41405b7d0e93940dfba76c50c404423a 100644 (file)
@@ -1,3 +1,398 @@
+2017-09-09  John Baldwin  <jhb@FreeBSD.org>
+
+       * aarch64-linux-nat.c: Remove _initialize_aarch64_linux_nat
+       prototype.
+       * aarch64-linux-tdep.c: Remove _initialize_aarch64_linux_tdep
+       prototype.
+       * aarch64-newlib-tdep.c: Remove _initialize_aarch64_newlib_tdep
+       prototype.
+       * aarch64-tdep.c: Remove _initialize_aarch64_tdep prototype.
+       * ada-exp.y: Remove _initialize_ada_exp prototype.
+       * ada-lang.c: Remove _initialize_ada_language prototype.
+       * ada-tasks.c: Remove _initialize_tasks prototype.
+       * addrmap.c: Remove _initialize_addrmap prototype.
+       * agent.c: Remove _initialize_agent prototype.
+       * aix-thread.c: Remove _initialize_aix_thread prototype.
+       * alpha-bsd-nat.c: Remove _initialize_alphabsd_nat prototype.
+       * alpha-linux-nat.c: Remove _initialize_alpha_linux_nat prototype.
+       * alpha-linux-tdep.c: Remove _initialize_alpha_linux_tdep
+       prototype.
+       * alpha-nbsd-tdep.c: Remove _initialize_alphanbsd_tdep prototype.
+       * alpha-obsd-tdep.c: Remove _initialize_alphaobsd_tdep prototype.
+       * alpha-tdep.c: Remove _initialize_alpha_tdep prototype.
+       * amd64-darwin-tdep.c: Remove _initialize_amd64_darwin_tdep
+       prototype.
+       * amd64-dicos-tdep.c: Remove _initialize_amd64_dicos_tdep
+       prototype.
+       * amd64-fbsd-nat.c: Remove _initialize_amd64fbsd_nat prototype.
+       * amd64-fbsd-tdep.c: Remove _initialize_amd64fbsd_tdep prototype.
+       * amd64-linux-nat.c: Remove _initialize_amd64_linux_nat prototype.
+       * amd64-linux-tdep.c: Remove _initialize_amd64_linux_tdep
+       prototype.
+       * amd64-nbsd-nat.c: Remove _initialize_amd64nbsd_nat prototype.
+       * amd64-nbsd-tdep.c: Remove _initialize_amd64nbsd_tdep prototype.
+       * amd64-obsd-nat.c: Remove _initialize_amd64obsd_nat prototype.
+       * amd64-obsd-tdep.c: Remove _initialize_amd64obsd_tdep prototype.
+       * amd64-sol2-tdep.c: Remove _initialize_amd64_sol2_tdep prototype.
+       * amd64-tdep.c: Remove _initialize_amd64_tdep prototype.
+       * amd64-windows-nat.c: Remove _initialize_amd64_windows_nat
+       prototype.
+       * amd64-windows-tdep.c: Remove _initialize_amd64_windows_tdep
+       prototype.
+       * annotate.c: Remove _initialize_annotate prototype.
+       * arc-newlib-tdep.c: Remove _initialize_arc_newlib_tdep prototype.
+       * arc-tdep.c: Remove _initialize_arc_tdep prototype.
+       * arch-utils.c: Remove _initialize_gdbarch_utils prototype.
+       * arm-linux-nat.c: Remove _initialize_arm_linux_nat prototype.
+       * arm-linux-tdep.c: Remove _initialize_arm_linux_tdep prototype.
+       * arm-nbsd-tdep.c: Remove _initialize_arm_netbsd_tdep prototype.
+       * arm-obsd-tdep.c: Remove _initialize_armobsd_tdep prototype.
+       * arm-symbian-tdep.c: Remove _initialize_arm_symbian_tdep
+       prototype.
+       * arm-tdep.c: Remove _initialize_arm_tdep prototype.
+       * arm-wince-tdep.c: Remove _initialize_arm_wince_tdep prototype.
+       * auto-load.c: Remove _initialize_auto_load prototype.
+       * auxv.c: Remove _initialize_auxv prototype.
+       * avr-tdep.c: Remove _initialize_avr_tdep prototype.
+       * ax-gdb.c: Remove _initialize_ax_gdb prototype.
+       * bfin-linux-tdep.c: Remove _initialize_bfin_linux_tdep prototype.
+       * bfin-tdep.c: Remove _initialize_bfin_tdep prototype.
+       * break-catch-sig.c: Remove _initialize_break_catch_sig prototype.
+       * break-catch-syscall.c: Remove _initialize_break_catch_syscall
+       prototype.
+       * break-catch-throw.c: Remove _initialize_break_catch_throw
+       prototype.
+       * breakpoint.c: Remove _initialize_breakpoint prototype.
+       * bsd-uthread.c: Remove _initialize_bsd_uthread prototype.
+       * btrace.c: Remove _initialize_btrace prototype.
+       * charset.c: Remove _initialize_charset prototype.
+       * cli/cli-cmds.c: Remove _initialize_cli_cmds prototype.
+       * cli/cli-dump.c: Remove _initialize_cli_dump prototype.
+       * cli/cli-interp.c: Remove _initialize_cli_interp prototype.
+       * cli/cli-logging.c: Remove _initialize_cli_logging prototype.
+       * cli/cli-script.c: Remove _initialize_cli_script prototype.
+       * coff-pe-read.c: Remove _initialize_coff_pe_read prototype.
+       * coffread.c: Remove _initialize_coffread prototype.
+       * compile/compile.c: Remove _initialize_compile prototype.
+       * complaints.c: Remove _initialize_complaints prototype.
+       * completer.c: Remove _initialize_completer prototype.
+       * copying.awk: Remove _initialize_copying prototype.
+       * copying.c: Regenerate.
+       * core-regset.c: Remove _initialize_core_regset prototype.
+       * corefile.c: Remove _initialize_core prototype.
+       * corelow.c: Remove _initialize_corelow prototype.
+       * cp-abi.c: Remove _initialize_cp_abi prototype.
+       * cp-namespace.c: Remove _initialize_cp_namespace prototype.
+       * cp-support.c: Remove _initialize_cp_support prototype.
+       * cp-valprint.c: Remove _initialize_cp_valprint prototype.
+       * cris-linux-tdep.c: Remove _initialize_cris_linux_tdep prototype.
+       * cris-tdep.c: Remove _initialize_cris_tdep prototype.
+       * ctf.c: Remove _initialize_ctf prototype.
+       * d-lang.c: Remove _initialize_d_language prototype.
+       * darwin-nat-info.c: Remove _initialize_darwin_info_commands
+       prototype.
+       * darwin-nat.c: Remove _initialize_darwin_inferior prototype.
+       * dbxread.c: Remove _initialize_dbxread prototype.
+       * dcache.c: Remove _initialize_dcache prototype.
+       * demangle.c: Remove _initialize_demangler prototype.
+       * disasm-selftests.c: Remove _initialize_disasm_selftests
+       prototype.
+       * disasm.c: Remove _initialize_disasm prototype.
+       * dtrace-probe.c: Remove _initialize_dtrace_probe prototype.
+       * dummy-frame.c: Remove _initialize_dummy_frame prototype.
+       * dwarf2-frame-tailcall.c: Remove _initialize_tailcall_frame
+       prototype.
+       * dwarf2-frame.c: Remove _initialize_dwarf2_frame prototype.
+       * dwarf2expr.c: Remove _initialize_dwarf2expr prototype.
+       * dwarf2loc.c: Remove _initialize_dwarf2loc prototype.
+       * dwarf2read.c: Remove _initialize_dwarf2_read prototype.
+       * elfread.c: Remove _initialize_elfread prototype.
+       * exec.c: Remove _initialize_exec prototype.
+       * extension.c: Remove _initialize_extension prototype.
+       * f-lang.c: Remove _initialize_f_language prototype.
+       * f-valprint.c: Remove _initialize_f_valprint prototype.
+       * fbsd-nat.c: Remove _initialize_fbsd_nat prototype.
+       * fbsd-tdep.c: Remove _initialize_fbsd_tdep prototype.
+       * filesystem.c: Remove _initialize_filesystem prototype.
+       * findcmd.c: Remove _initialize_mem_search prototype.
+       * fork-child.c: Remove _initialize_fork_child prototype.
+       * frame-base.c: Remove _initialize_frame_base prototype.
+       * frame-unwind.c: Remove _initialize_frame_unwind prototype.
+       * frame.c: Remove _initialize_frame prototype.
+       * frv-linux-tdep.c: Remove _initialize_frv_linux_tdep prototype.
+       * frv-tdep.c: Remove _initialize_frv_tdep prototype.
+       * ft32-tdep.c: Remove _initialize_ft32_tdep prototype.
+       * gcore.c: Remove _initialize_gcore prototype.
+       * gdb_bfd.c: Remove _initialize_gdb_bfd prototype.
+       * gdbarch.c: Regenerate.
+       * gdbarch.sh: Remove _initialize_gdbarch prototype.
+       * gdbtypes.c: Remove _initialize_gdbtypes prototype.
+       * gnu-nat.c: Remove _initialize_gnu_nat prototype.
+       * gnu-v2-abi.c: Remove _initialize_gnu_v2_abi prototype.
+       * gnu-v3-abi.c: Remove _initialize_gnu_v3_abi prototype.
+       * go-lang.c: Remove _initialize_go_language prototype.
+       * go32-nat.c: Remove _initialize_go32_nat prototype.
+       * guile/guile.c: Remove _initialize_guile prototype.
+       * h8300-tdep.c: Remove _initialize_h8300_tdep prototype.
+       * hppa-linux-nat.c: Remove _initialize_hppa_linux_nat prototype.
+       * hppa-linux-tdep.c: Remove _initialize_hppa_linux_tdep prototype.
+       * hppa-nbsd-nat.c: Remove _initialize_hppanbsd_nat prototype.
+       * hppa-nbsd-tdep.c: Remove _initialize_hppanbsd_tdep prototype.
+       * hppa-obsd-nat.c: Remove _initialize_hppaobsd_nat prototype.
+       * hppa-obsd-tdep.c: Remove _initialize_hppaobsd_tdep prototype.
+       * hppa-tdep.c: Remove _initialize_hppa_tdep prototype.
+       * i386-bsd-nat.c: Remove _initialize_i386bsd_nat prototype.
+       * i386-cygwin-tdep.c: Remove _initialize_i386_cygwin_tdep
+       prototype.
+       * i386-darwin-tdep.c: Remove _initialize_i386_darwin_tdep
+       prototype.
+       * i386-dicos-tdep.c: Remove _initialize_i386_dicos_tdep prototype.
+       * i386-fbsd-nat.c: Remove _initialize_i386fbsd_nat prototype.
+       * i386-fbsd-tdep.c: Remove _initialize_i386fbsd_tdep prototype.
+       * i386-gnu-nat.c: Remove _initialize_i386gnu_nat prototype.
+       * i386-gnu-tdep.c: Remove _initialize_i386gnu_tdep prototype.
+       * i386-linux-nat.c: Remove _initialize_i386_linux_nat prototype.
+       * i386-linux-tdep.c: Remove _initialize_i386_linux_tdep prototype.
+       * i386-nbsd-nat.c: Remove _initialize_i386nbsd_nat prototype.
+       * i386-nbsd-tdep.c: Remove _initialize_i386nbsd_tdep prototype.
+       * i386-nto-tdep.c: Remove _initialize_i386nto_tdep prototype.
+       * i386-obsd-nat.c: Remove _initialize_i386obsd_nat prototype.
+       * i386-obsd-tdep.c: Remove _initialize_i386obsd_tdep prototype.
+       * i386-sol2-nat.c: Remove _initialize_amd64_sol2_nat prototype.
+       * i386-sol2-tdep.c: Remove _initialize_amd64_sol2_tdep prototype.
+       * i386-tdep.c: Remove _initialize_i386_tdep prototype.
+       * i386-windows-nat.c: Remove _initialize_i386_windows_nat
+       prototype.
+       * ia64-libunwind-tdep.c: Remove _initialize_libunwind_frame
+       prototype.
+       * ia64-linux-nat.c: Remove _initialize_ia64_linux_nat prototype.
+       * ia64-linux-tdep.c: Remove _initialize_ia64_linux_tdep prototype.
+       * ia64-tdep.c: Remove _initialize_ia64_tdep prototype.
+       * ia64-vms-tdep.c: Remove _initialize_ia64_vms_tdep prototype.
+       * infcall.c: Remove _initialize_infcall prototype.
+       * infcmd.c: Remove _initialize_infcmd prototype.
+       * inferior.c: Remove _initialize_inferiors prototype.
+       * inflow.c: Remove _initialize_inflow prototype.
+       * infrun.c: Remove _initialize_infrun prototype.
+       * interps.c: Remove _initialize_interpreter prototype.
+       * iq2000-tdep.c: Remove _initialize_iq2000_tdep prototype.
+       * jit.c: Remove _initialize_jit prototype.
+       * language.c: Remove _initialize_language prototype.
+       * linux-fork.c: Remove _initialize_linux_fork prototype.
+       * linux-nat.c: Remove _initialize_linux_nat prototype.
+       * linux-tdep.c: Remove _initialize_linux_tdep prototype.
+       * linux-thread-db.c: Remove _initialize_thread_db prototype.
+       * lm32-tdep.c: Remove _initialize_lm32_tdep prototype.
+       * m2-lang.c: Remove _initialize_m2_language prototype.
+       * m32c-tdep.c: Remove _initialize_m32c_tdep prototype.
+       * m32r-linux-nat.c: Remove _initialize_m32r_linux_nat prototype.
+       * m32r-linux-tdep.c: Remove _initialize_m32r_linux_tdep prototype.
+       * m32r-tdep.c: Remove _initialize_m32r_tdep prototype.
+       * m68hc11-tdep.c: Remove _initialize_m68hc11_tdep prototype.
+       * m68k-bsd-nat.c: Remove _initialize_m68kbsd_nat prototype.
+       * m68k-bsd-tdep.c: Remove _initialize_m68kbsd_tdep prototype.
+       * m68k-linux-nat.c: Remove _initialize_m68k_linux_tdep prototype.
+       * m68k-linux-tdep.c: Remove _initialize_m68k_linux_tdep prototype.
+       * m68k-tdep.c: Remove _initialize_m68k_tdep prototype.
+       * m88k-bsd-nat.c: Remove _initialize_m68kbsd_nat prototype.
+       * m88k-tdep.c: Remove _initialize_m68kbsd_tdep prototype.
+       * machoread.c: Remove _initialize_machoread prototype.
+       * macrocmd.c: Remove _initialize_macrocmd prototype.
+       * macroscope.c: Remove _initialize_macroscope prototype.
+       * maint.c: Remove _initialize_maint_cmds prototype.
+       * mdebugread.c: Remove _initialize_mdebugread prototype.
+       * memattr.c: Remove _initialize_mem prototype.
+       * mep-tdep.c: Remove _initialize_mep_tdep prototype.
+       * mi/mi-cmd-env.c: Remove _initialize_mi_cmd_env prototype.
+       * mi/mi-cmds.c: Remove _initialize_mi_cmds prototype.
+       * mi/mi-interp.c: Remove _initialize_mi_interp prototype.
+       * mi/mi-main.c: Remove _initialize_mi_main prototype.
+       * microblaze-linux-tdep.c: Remove
+       _initialize_microblaze_linux_tdep prototype.
+       * microblaze-tdep.c: Remove _initialize_microblaze_tdep prototype.
+       * mips-fbsd-nat.c: Remove _initialize_mips_fbsd_nat prototype.
+       * mips-fbsd-tdep.c: Remove _initialize_mips_fbsd_tdep prototype.
+       * mips-linux-nat.c: Remove _initialize_mips_linux_nat prototype.
+       * mips-linux-tdep.c: Remove _initialize_mips_linux_tdep prototype.
+       * mips-nbsd-nat.c: Remove _initialize_mipsnbsd_nat prototype.
+       * mips-nbsd-tdep.c: Remove _initialize_mipsnbsd_tdep prototype.
+       * mips-sde-tdep.c: Remove _initialize_mips_sde_tdep prototype.
+       * mips-tdep.c: Remove _initialize_mips_tdep prototype.
+       * mips64-obsd-nat.c: Remove _initialize_mips64obsd_nat prototype.
+       * mips64-obsd-tdep.c: Remove _initialize_mips64obsd_tdep
+       prototype.
+       * mipsread.c: Remove _initialize_mipsread prototype.
+       * mn10300-linux-tdep.c: Remove _initialize_mn10300_linux_tdep
+       prototype.
+       * mn10300-tdep.c: Remove _initialize_mn10300_tdep prototype.
+       * moxie-tdep.c: Remove _initialize_moxie_tdep prototype.
+       * msp430-tdep.c: Remove _initialize_msp430_tdep prototype.
+       * mt-tdep.c: Remove _initialize_mt_tdep prototype.
+       * nds32-tdep.c: Remove _initialize_nds32_tdep prototype.
+       * nios2-linux-tdep.c: Remove _initialize_nios2_linux_tdep
+       prototype.
+       * nios2-tdep.c: Remove _initialize_nios2_tdep prototype.
+       * nto-procfs.c: Remove _initialize_procfs prototype.
+       * nto-tdep.c: Remove _initialize_nto_tdep prototype.
+       * objc-lang.c: Remove _initialize_objc_language prototype.
+       * objfiles.c: Remove _initialize_objfiles prototype.
+       * observer.c: Remove observer_test_first_notification_function,
+       observer_test_second_notification_function,
+       observer_test_third_notification_function, and
+       _initialize_observer prototypes.
+       * opencl-lang.c: Remove _initialize_opencl_language prototypes.
+       * osabi.c: Remove _initialize_gdb_osabi prototype.
+       * osdata.c: Remove _initialize_osdata prototype.
+       * p-valprint.c: Remove _initialize_pascal_valprint prototype.
+       * parse.c: Remove _initialize_parse prototype.
+       * ppc-fbsd-nat.c: Remove _initialize_ppcfbsd_nat prototype.
+       * ppc-fbsd-tdep.c: Remove _initialize_ppcfbsd_tdep prototype.
+       * ppc-linux-nat.c: Remove _initialize_ppc_linux_nat prototype.
+       * ppc-linux-tdep.c: Remove _initialize_ppc_linux_tdep prototype.
+       * ppc-nbsd-nat.c: Remove _initialize_ppcnbsd_nat prototype.
+       * ppc-nbsd-tdep.c: Remove _initialize_ppcnbsd_tdep prototype.
+       * ppc-obsd-nat.c: Remove _initialize_ppcobsd_nat prototype.
+       * ppc-obsd-tdep.c: Remove _initialize_ppcobsd_tdep prototype.
+       * printcmd.c: Remove _initialize_printcmd prototype.
+       * probe.c: Remove _initialize_probe prototype.
+       * proc-api.c: Remove _initialize_proc_api prototype.
+       * proc-events.c: Remove _initialize_proc_events prototype.
+       * proc-service.c: Remove _initialize_proc_service prototype.
+       * procfs.c: Remove _initialize_procfs prototype.
+       * psymtab.c: Remove _initialize_psymtab prototype.
+       * python/python.c: Remove _initialize_python prototype.
+       * ravenscar-thread.c: Remove _initialize_ravenscar prototype.
+       * record-btrace.c: Remove _initialize_record_btrace prototype.
+       * record-full.c: Remove _initialize_record_full prototype.
+       * record.c: Remove _initialize_record prototype.
+       * regcache.c: Remove _initialize_regcache prototype.
+       * reggroups.c: Remove _initialize_reggroup prototype.
+       * remote-notif.c: Remove _initialize_notif prototype.
+       * remote-sim.c: Remove _initialize_remote_sim prototype.
+       * remote.c: Remove _initialize_remote prototype.
+       * reverse.c: Remove _initialize_reverse prototype.
+       * rl78-tdep.c: Remove _initialize_rl78_tdep prototype.
+       * rs6000-aix-tdep.c: Remove _initialize_rs6000_aix_tdep prototype.
+       * rs6000-lynx178-tdep.c: Remove _initialize_rs6000_lynx178_tdep
+       prototype.
+       * rs6000-nat.c: Remove _initialize_rs6000_nat prototype.
+       * rs6000-tdep.c: Remove _initialize_rs6000_tdep prototype.
+       * rust-exp.y: Remove _initialize_rust_exp prototype.
+       * rx-tdep.c: Remove _initialize_rx_tdep prototype.
+       * s390-linux-nat.c: Remove _initialize_s390_nat prototype.
+       * s390-linux-tdep.c: Remove _initialize_s390_tdep prototype.
+       * score-tdep.c: Remove _initialize_score_tdep prototype.
+       * selftest-arch.c: Remove _initialize_selftests_foreach_arch
+       prototype.
+       * ser-go32.c: Remove _initialize_ser_dos prototype.
+       * ser-mingw.c: Remove _initialize_ser_windows prototype.
+       * ser-pipe.c: Remove _initialize_ser_pipe prototype.
+       * ser-tcp.c: Remove _initialize_ser_tcp prototype.
+       * ser-unix.c: Remove _initialize_ser_hardwire prototype.
+       * serial.c: Remove _initialize_serial prototype.
+       * sh-linux-tdep.c: Remove _initialize_sh_linux_tdep prototype.
+       * sh-nbsd-nat.c: Remove _initialize_shnbsd_nat prototype.
+       * sh-nbsd-tdep.c: Remove _initialize_shnbsd_tdep prototype.
+       * sh-tdep.c: Remove _initialize_sh_tdep prototype.
+       * skip.c: Remove _initialize_step_skip prototype.
+       * sol-thread.c: Remove _initialize_sol_thread prototype.
+       * solib-aix.c: Remove _initialize_solib_aix prototype.
+       * solib-darwin.c: Remove _initialize_darwin_solib prototype.
+       * solib-dsbt.c: Remove _initialize_dsbt_solib prototype.
+       * solib-frv.c: Remove _initialize_frv_solib prototype.
+       * solib-spu.c: Remove _initialize_spu_solib prototype.
+       * solib-svr4.c: Remove _initialize_svr4_solib prototype.
+       * solib-target.c: Remove _initialize_solib_target prototype.
+       * solib.c: Remove _initialize_solib prototype.
+       * source.c: Remove _initialize_source prototype.
+       * sparc-linux-nat.c: Remove _initialize_sparc_linux_nat prototype.
+       * sparc-linux-tdep.c: Remove _initialize_sparc_linux_tdep
+       prototype.
+       * sparc-nat.c: Remove _initialize_sparc_nat prototype.
+       * sparc-nbsd-nat.c: Remove _initialize_sparcnbsd_nat prototype.
+       * sparc-nbsd-tdep.c: Remove _initialize_sparcnbsd_tdep prototype.
+       * sparc-obsd-tdep.c: Remove _initialize_sparc32obsd_tdep
+       prototype.
+       * sparc-sol2-nat.c: Remove _initialize_sparc_sol2_nat prototype.
+       * sparc-sol2-tdep.c: Remove _initialize_sparc_sol2_tdep prototype.
+       * sparc-tdep.c: Remove _initialize_sparc_tdep prototype.
+       * sparc64-fbsd-nat.c: Remove _initialize_sparc64fbsd_nat
+       prototype.
+       * sparc64-fbsd-tdep.c: Remove _initialize_sparc64fbsd_tdep
+       prototype.
+       * sparc64-linux-nat.c: Remove _initialize_sparc64_linux_nat
+       prototype.
+       * sparc64-linux-tdep.c: Remove _initialize_sparc64_linux_tdep
+       prototype.
+       * sparc64-nat.c: Remove _initialize_sparc64_nat prototype.
+       * sparc64-nbsd-nat.c: Remove _initialize_sparc64nbsd_nat
+       prototype.
+       * sparc64-nbsd-tdep.c: Remove _initialize_sparc64nbsd_tdep
+       prototype.
+       * sparc64-obsd-nat.c: Remove _initialize_sparc64obsd_nat
+       prototype.
+       * sparc64-obsd-tdep.c: Remove _initialize_sparc64obsd_tdep
+       prototype.
+       * sparc64-sol2-tdep.c: Remove _initialize_sparc64_sol2_tdep
+       prototype.
+       * spu-linux-nat.c: Remove _initialize_spu_nat prototype.
+       * spu-multiarch.c: Remove _initialize_spu_multiarch prototype.
+       * spu-tdep.c: Remove _initialize_spu_tdep prototype.
+       * stabsread.c: Remove _initialize_stabsread prototype.
+       * stack.c: Remove _initialize_stack prototype.
+       * stap-probe.c: Remove _initialize_stap_probe prototype.
+       * std-regs.c: Remove _initialize_frame_reg prototype.
+       * symfile-debug.c: Remove _initialize_symfile_debug prototype.
+       * symfile-mem.c: Remove _initialize_symfile_mem prototype.
+       * symfile.c: Remove _initialize_symfile prototype.
+       * symmisc.c: Remove _initialize_symmisc prototype.
+       * symtab.c: Remove _initialize_symtab prototype.
+       * target-dcache.c: Remove _initialize_target_dcache prototype.
+       * target-descriptions.c: Remove _initialize_target_descriptions
+       prototype.
+       * thread.c: Remove _initialize_thread prototype.
+       * tic6x-linux-tdep.c: Remove _initialize_tic6x_linux_tdep
+       prototype.
+       * tic6x-tdep.c: Remove _initialize_tic6x_tdep prototype.
+       * tilegx-linux-nat.c: Remove _initialize_tile_linux_nat prototype.
+       * tilegx-linux-tdep.c: Remove _initialize_tilegx_linux_tdep
+       prototype.
+       * tilegx-tdep.c: Remove _initialize_tilegx_tdep prototype.
+       * tracefile-tfile.c: Remove _initialize_tracefile_tfile prototype.
+       * tracefile.c: Remove _initialize_tracefile prototype.
+       * tracepoint.c: Remove _initialize_tracepoint prototype.
+       * tui/tui-hooks.c: Remove _initialize_tui_hooks prototype.
+       * tui/tui-interp.c: Remove _initialize_tui_interp prototype.
+       * tui/tui-layout.c: Remove _initialize_tui_layout prototype.
+       * tui/tui-regs.c: Remove _initialize_tui_regs prototype.
+       * tui/tui-stack.c: Remove _initialize_tui_stack prototype.
+       * tui/tui-win.c: Remove _initialize_tui_win prototype.
+       * tui/tui.c: Remove _initialize_tui prototype.
+       * typeprint.c: Remove _initialize_typeprint prototype.
+       * user-regs.c: Remove _initialize_user_regs prototype.
+       * utils.c: Remove _initialize_utils prototype.
+       * v850-tdep.c: Remove _initialize_v850_tdep prototype.
+       * valarith.c: Remove _initialize_valarith prototype.
+       * valops.c: Remove _initialize_valops prototype.
+       * valprint.c: Remove _initialize_valprint prototype.
+       * value.c: Remove _initialize_values prototype.
+       * varobj.c: Remove _initialize_varobj prototype.
+       * vax-bsd-nat.c: Remove _initialize_vaxbsd_nat prototype.
+       * vax-nbsd-tdep.c: Remove _initialize_vaxnbsd_tdep prototype.
+       * vax-tdep.c: Remove _initialize_vax_tdep prototype.
+       * windows-nat.c: Remove _initialize_windows_nat,
+       _initialize_check_for_gdb_ini, and _initialize_loadable
+       prototypes.
+       * windows-tdep.c: Remove _initialize_windows_tdep prototype.
+       * xcoffread.c: Remove _initialize_xcoffread prototype.
+       * xml-support.c: Remove _initialize_xml_support prototype.
+       * xstormy16-tdep.c: Remove _initialize_xstormy16_tdep prototype.
+       * xtensa-linux-nat.c: Remove _initialize_xtensa_linux_nat
+       prototype.
+       * xtensa-linux-tdep.c: Remove _initialize_xtensa_linux_tdep
+       prototype.
+       * xtensa-tdep.c: Remove _initialize_xtensa_tdep prototype.
+
 2017-09-08  Keith Seitz  <keiths@redhat.com>
 
        * dwarf2read.c (struct field_info) <fnfields>: Remove unused
index 3f5b30eaeb2b01021841d8d4ddc541c5c2b574b0..6ad6f663bfeaac2b38425a8a5791e0c312cf8aac 100644 (file)
@@ -801,9 +801,6 @@ triggers a breakpoint or watchpoint."),
                           &maintenance_show_cmdlist);
 }
 
-/* -Wmissing-prototypes.  */
-void _initialize_aarch64_linux_nat (void);
-
 void
 _initialize_aarch64_linux_nat (void)
 {
index 847454f1d14a89cd7e5733f212a03f60783bcd89..4381359fe053bfd4a361cd4d187c0351752e50f2 100644 (file)
@@ -1227,9 +1227,6 @@ aarch64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
                                            aarch64_displaced_step_hw_singlestep);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_aarch64_linux_tdep;
-
 void
 _initialize_aarch64_linux_tdep (void)
 {
index 52bf993dceb877e51b9d9a4bde767c35c7c26027..9d9fce1b304029c491129025eaaf67f63b15610f 100644 (file)
@@ -36,9 +36,6 @@ aarch64_newlib_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   tdep->jb_pc = 11;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_aarch64_newlib_tdep;
-
 void
 _initialize_aarch64_newlib_tdep (void)
 {
index 5a627a3a18606f742719fb198979136df5889d87..e88889fac8e284642293c9a96e3b910f8436bc86 100644 (file)
@@ -3047,9 +3047,6 @@ static void aarch64_process_record_test (void);
 }
 #endif
 
-/* Suppress warning from -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_aarch64_tdep;
-
 void
 _initialize_aarch64_tdep (void)
 {
index 618c9d540e925a1b2aecc0fc84f9efca1562a8db..4c1ff7b493cc8884f92ef98d73ee45e1bc388314 100644 (file)
@@ -1480,9 +1480,6 @@ type_system_address (struct parser_state *par_state)
   return  type != NULL ? type : parse_type (par_state)->builtin_data_ptr;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_ada_exp;
-
 void
 _initialize_ada_exp (void)
 {
index 86f09b941a39713cbb18f1c6088e9898797c6f30..fdc2a9002cce953c7de5a99f4e771205583e7cbb 100644 (file)
@@ -13990,9 +13990,6 @@ extern const struct language_defn ada_language_defn = {
   LANG_MAGIC
 };
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_ada_language;
-
 /* Command-list for the "set/show ada" prefix command.  */
 static struct cmd_list_element *set_ada_list;
 static struct cmd_list_element *show_ada_list;
index cf43f0eb3f5397a6eabec5b1751333410f3e0df5..19f74ddac71f445e20b00b6f12c5e7b014df89a4 100644 (file)
@@ -1422,9 +1422,6 @@ ada_tasks_new_objfile_observer (struct objfile *objfile)
       ada_tasks_invalidate_inferior_data (inf);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_tasks;
-
 void
 _initialize_tasks (void)
 {
index 8e6c477d691d35fcc53f1b9c92d8f68dd0fde4e7..93454e6ac1d49ff6ccfee338a1791b378a76e21b 100644 (file)
@@ -588,13 +588,8 @@ addrmap_create_mutable (struct obstack *obstack)
   return (struct addrmap *) map;
 }
 
-
-\f
 /* Initialization.  */
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_addrmap;
-
 void
 _initialize_addrmap (void)
 {
index 6f6af2a1b73dd0fa620aa2837cd69964a1018f9e..c0f10aa702d21d0e8648908495cfc6975ff92cc4 100644 (file)
@@ -51,9 +51,6 @@ set_can_use_agent (char *args, int from_tty, struct cmd_list_element *c)
     can_use_agent = can_use_agent_off;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_agent;
-
 #include "observer.h"
 #include "objfiles.h"
 
index f3434a6db671009e248b0b9f457d22da662ccb70..f9ec8641657389b2ae2004e5c7aa722ba965c17c 100644 (file)
@@ -1831,8 +1831,6 @@ init_aix_thread_ops (void)
 /* Module startup initialization function, automagically called by
    init.c.  */
 
-void _initialize_aix_thread (void);
-
 void
 _initialize_aix_thread (void)
 {
index 102555344dfd904ddb22b4898791f8ea8c414eda..8a67bb051459abe46fe36b2a3b7b137158d11fc5 100644 (file)
@@ -187,9 +187,6 @@ alphabsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
 }
 \f
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_alphabsd_nat (void);
-
 void
 _initialize_alphabsd_nat (void)
 {
index a8f1a1c0a48392ae9c060858ab5ecdf9360db721..b88ffedff8ca1d1cda438c0a2aa72329be05cce5 100644 (file)
@@ -91,8 +91,6 @@ alpha_linux_register_u_offset (struct gdbarch *gdbarch, int regno, int store_p)
     return FPR_BASE + regno - gdbarch_fp0_regnum (gdbarch);
 }
 
-void _initialize_alpha_linux_nat (void);
-
 void
 _initialize_alpha_linux_nat (void)
 {
index 33587b8dcfad3046d047c7fa505885b637eb5c34..1392566fdd4ba23a27ffefabac5c01d2710f4e57 100644 (file)
@@ -388,9 +388,6 @@ alpha_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
                                    alpha_linux_gdb_signal_to_target);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_alpha_linux_tdep;
-
 void
 _initialize_alpha_linux_tdep (void)
 {
index 32f11ec49ed822121ef4533559e11d3b2cc555fe..a9b372b6f21e92b1fca2eb628528412c3e77e7b6 100644 (file)
@@ -276,9 +276,6 @@ alphanbsd_init_abi (struct gdbarch_info info,
 }
 \f
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_alphanbsd_tdep (void);
-
 void
 _initialize_alphanbsd_tdep (void)
 {
index 5f125f2a888008e22049ca515089ccb84d2583da..461e062e7b50decabaf0f008046d36814fe3312e 100644 (file)
@@ -126,9 +126,6 @@ alphaobsd_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
 }
 \f
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_alphaobsd_tdep (void);
-
 void
 _initialize_alphaobsd_tdep (void)
 {
index 06ee90cbc7785d8277e773bdb6b98065e2e19568..e66517d21cd888bd08010023bb1dc0f492ccbcdc 100644 (file)
@@ -1850,8 +1850,6 @@ alpha_dwarf2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   frame_base_append_sniffer (gdbarch, dwarf2_frame_base_sniffer);
 }
 
-extern initialize_file_ftype _initialize_alpha_tdep; /* -Wmissing-prototypes */
-
 void
 _initialize_alpha_tdep (void)
 {
index 81dba82102a320006c462d68ac1cd3d0a514fba8..7f6cb94ad64ecfea941f60282fc3d952b4f258e2 100644 (file)
@@ -117,9 +117,6 @@ x86_darwin_init_abi_64 (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_solib_ops (gdbarch, &darwin_so_ops);
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_amd64_darwin_tdep;
-
 void
 _initialize_amd64_darwin_tdep (void)
 {
index d319dd928f2bc4d88cdb674d6fd03e0cfd74ae06..99a77a0f7d8a8b38e52c2b65dd69be99d59789f1 100644 (file)
@@ -46,9 +46,6 @@ amd64_dicos_osabi_sniffer (bfd *abfd)
   return GDB_OSABI_UNKNOWN;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_amd64_dicos_tdep (void);
-
 void
 _initialize_amd64_dicos_tdep (void)
 {
index 107b4f8fb0f741aaf0b784b62e3bf844780cdb49..f47e806bd6b8401a4b7d9cec182e3da7af470a41 100644 (file)
@@ -185,9 +185,6 @@ amd64fbsd_read_description (struct target_ops *ops)
     return i386_target_description (X86_XSTATE_SSE_MASK);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_amd64fbsd_nat (void);
-
 void
 _initialize_amd64fbsd_nat (void)
 {
index 897cab945f6aea660fb7d9204a88c17a010cb9d3..0047e2ce24efc7012850f556833a0d24e2cc39d6 100644 (file)
@@ -240,10 +240,6 @@ amd64fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_solib_svr4_fetch_link_map_offsets
     (gdbarch, svr4_lp64_fetch_link_map_offsets);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_amd64fbsd_tdep (void);
 
 void
 _initialize_amd64fbsd_tdep (void)
index d24c028d215581339bf856701f49c74f6d49bcaf..a83ad8b1ea6abe51e13806835adac6c3d9ab337a 100644 (file)
@@ -396,9 +396,6 @@ amd64_linux_siginfo_fixup (siginfo_t *ptrace, gdb_byte *inf, int direction)
     return 0;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_amd64_linux_nat (void);
-
 void
 _initialize_amd64_linux_nat (void)
 {
index 89d3b6a7da0bc40d0a4c08ab1e701d2f319e84fe..87f09a4542bfb26d3068f91ec91a6170c363bdd0 100644 (file)
@@ -2265,10 +2265,6 @@ amd64_x32_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_solib_svr4_fetch_link_map_offsets
     (gdbarch, svr4_ilp32_fetch_link_map_offsets);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern void _initialize_amd64_linux_tdep (void);
 
 void
 _initialize_amd64_linux_tdep (void)
index 560ae89c7f3c1ab5ce27a914fc3267bef7b4a345..73b737c1b8db084cd191cfae4845e070a7646b6d 100644 (file)
@@ -52,10 +52,6 @@ static int amd64nbsd32_r_reg_offset[] =
   16 * 8,                      /* %fs */
   15 * 8                       /* %gs */
 };
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_amd64nbsd_nat (void);
 
 void
 _initialize_amd64nbsd_nat (void)
index 9ae022729f6c000de0b75ae42212149463ba65d3..6c4b6cc99f763ed9b6b5714dacadcbeea83f3af2 100644 (file)
@@ -119,10 +119,6 @@ amd64nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_solib_svr4_fetch_link_map_offsets
     (gdbarch, svr4_lp64_fetch_link_map_offsets);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_amd64nbsd_tdep (void);
 
 void
 _initialize_amd64nbsd_tdep (void)
index 1c46581f8b8c8ca1511892eea5e85f01f10726b4..8d05aaf43ef693ab8270f32634efe4acb7cdd23e 100644 (file)
@@ -124,10 +124,6 @@ amd64obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
 
   return 1;
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_amd64obsd_nat (void);
 
 void
 _initialize_amd64obsd_nat (void)
index 54942cc71585fefb904667f2b162c7b1f1065870..729342e2de7d747e91ad14e4f4af55cb247f5eec 100644 (file)
@@ -447,10 +447,6 @@ amd64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   /* Unwind kernel trap frames correctly.  */
   frame_unwind_prepend_unwinder (gdbarch, &amd64obsd_trapframe_unwind);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_amd64obsd_tdep (void);
 
 void
 _initialize_amd64obsd_tdep (void)
index 1ae2edc6333fe4c1a4ca3247bb998bcc18be595c..b44e5f1f06aeda45086c3485f99bf1d1c6038151 100644 (file)
@@ -116,10 +116,6 @@ amd64_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   /* How to print LWP PTIDs from core files.  */
   set_gdbarch_core_pid_to_str (gdbarch, sol2_core_pid_to_str);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern void _initialize_amd64_sol2_tdep (void);
 
 void
 _initialize_amd64_sol2_tdep (void)
index d459eb2f28861295237130b6eabea17c2e64764d..f1e2078ef5560cf602cacda12496505c108c9c6a 100644 (file)
@@ -3221,9 +3221,6 @@ amd64_target_description (uint64_t xcr0)
   return *tdesc;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_amd64_tdep (void);
-
 void
 _initialize_amd64_tdep (void)
 {
index fd79bfc16d2850ff91eade9afa56f0a902eb8745..2a90d6a4dfdab72e82a4ea82ce6a2704c2d727a1 100644 (file)
@@ -95,9 +95,6 @@ amd64_windows_segment_register_p (int regnum)
   return regnum >= AMD64_CS_REGNUM && regnum <= AMD64_GS_REGNUM;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_amd64_windows_nat;
-
 void
 _initialize_amd64_windows_nat (void)
 {
index 5ac73bd8c97e51e63660500b75d9fe173b8a71eb..975c6848a49cd25a0a34e8db1c0f87c2d166cfe2 100644 (file)
@@ -1245,9 +1245,6 @@ amd64_windows_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_gdbarch_auto_wide_charset (gdbarch, amd64_windows_auto_wide_charset);
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_amd64_windows_tdep;
-
 void
 _initialize_amd64_windows_tdep (void)
 {
index 426005adba558759fa367b99aabc2273b7cc750c..f68ff1098f1b86bedb754d090ef9b409f7dd9807 100644 (file)
@@ -30,8 +30,6 @@
 
 /* Prototypes for local functions.  */
 
-extern void _initialize_annotate (void);
-
 static void print_value_flags (struct type *);
 
 static void breakpoint_changed (struct breakpoint *b);
index a6a232f095316e3a0bf9b459d36c9025aabe5d7e..50a1bce4d1ce0fc2e8a63c5d59f2e7a521f9cf91 100644 (file)
@@ -56,9 +56,6 @@ arc_newlib_osabi_sniffer (bfd *abfd)
     return GDB_OSABI_UNKNOWN;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_arc_newlib_tdep;
-
 void
 _initialize_arc_newlib_tdep (void)
 {
index 21f70156bf0f92136515eaf89c609dfb506e1f88..31c7b569e9ed2988cf9931c757513db64e702781 100644 (file)
@@ -2135,9 +2135,6 @@ dump_arc_instruction_command (char *args, int from_tty)
   arc_insn_dump (insn);
 }
 
-/* Suppress warning from -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_arc_tdep;
-
 void
 _initialize_arc_tdep (void)
 {
index 4e0fdf4a6835fe7a1e8916fe438d4ef9efeab5bc..02ffd6b574f5fb1c7a80af77ceca0a8ea02b34c1 100644 (file)
@@ -996,9 +996,6 @@ gdbarch_skip_prologue_noexcept (gdbarch *gdbarch, CORE_ADDR pc) noexcept
   return new_pc;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_gdbarch_utils;
-
 void
 _initialize_gdbarch_utils (void)
 {
index 4039d1e8d8bfef0329d59974a31fa8b3e8e77b74..fc66063ce50dc9ab98cd3704d3efe2665d0d6238 100644 (file)
@@ -1283,8 +1283,6 @@ arm_linux_new_fork (struct lwp_info *parent, pid_t child_pid)
   *child_state = *parent_state;
 }
 
-void _initialize_arm_linux_nat (void);
-
 void
 _initialize_arm_linux_nat (void)
 {
index 95c52608adbb1ff92a9ddb203835d5a1102339bd..f3ca8f7eb61bc2331d5b1019fe6d60aca4f40552 100644 (file)
@@ -1996,9 +1996,6 @@ arm_linux_init_abi (struct gdbarch_info info,
   arm_linux_record_tdep.arg7 = ARM_A1_REGNUM + 6;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_arm_linux_tdep;
-
 void
 _initialize_arm_linux_tdep (void)
 {
index 92d368ccecfd16a94028c24d9579af2ada9926c1..09780d88a47cb9ad2d79aa55016013c6c4f82817 100644 (file)
@@ -85,9 +85,6 @@ arm_netbsd_elf_init_abi (struct gdbarch_info info,
     (gdbarch, svr4_ilp32_fetch_link_map_offsets);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_arm_netbsd_tdep;
-
 void
 _initialize_arm_netbsd_tdep (void)
 {
index 6db5487020ba0c73938d77ed7d2a144345623831..66e648888ff0a82a7495773dd6ad3def7b65b009 100644 (file)
@@ -114,10 +114,6 @@ armobsd_init_abi (struct gdbarch_info info,
       break;
     }
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_armobsd_tdep;
 
 void
 _initialize_armobsd_tdep (void)
index f55e12e089aaf0f2fe2b4cb595a12347b1762ddd..061fd1fd675e37ba8303ab2a47e59d5108e81b43 100644 (file)
@@ -119,9 +119,6 @@ arm_symbian_osabi_sniffer (bfd *abfd)
   return GDB_OSABI_SYMBIAN;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_arm_symbian_tdep;
-
 void
 _initialize_arm_symbian_tdep (void)
 {
index 0c1a0b3294ac39818fd1d95dbafda1acc1f4a398..6dda13dda0d13671ff472345b7cd031626f00420 100644 (file)
@@ -9589,8 +9589,6 @@ static void arm_record_test (void);
 }
 #endif
 
-extern initialize_file_ftype _initialize_arm_tdep; /* -Wmissing-prototypes */
-
 void
 _initialize_arm_tdep (void)
 {
index 76bf08fd60e615d7ccbea81f7fc88405ba837ba7..786c39a826eb3dde0d09534b1b9c28e933ffa2d7 100644 (file)
@@ -154,9 +154,6 @@ arm_wince_osabi_sniffer (bfd *abfd)
   return GDB_OSABI_UNKNOWN;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_arm_wince_tdep (void);
-
 void
 _initialize_arm_wince_tdep (void)
 {
index 5bba8136598cea59fa62eea9476e9c0e94cfdeb3..ddd060182f6b4143c105eec3838d7450916015ae 100644 (file)
@@ -1567,8 +1567,6 @@ found and/or loaded."),
   return &retval;
 }
 
-void _initialize_auto_load (void);
-
 void
 _initialize_auto_load (void)
 {
index 3daf5258146a387e1bf37a8544ab573ae9faa92a..95cbeecd797bf33385bc69d0d539fe53b67810e5 100644 (file)
@@ -567,9 +567,6 @@ info_auxv_command (char *cmd, int from_tty)
     }
 }
 
-
-extern initialize_file_ftype _initialize_auxv; /* -Wmissing-prototypes; */
-
 void
 _initialize_auxv (void)
 {
index 7867c2fabebbb9d2ac1351b11abb6c414bc6c555..6818f334e7528a2720965fee83b741b5a9f47d29 100644 (file)
@@ -1615,8 +1615,6 @@ avr_io_reg_read_command (char *args, int from_tty)
     }
 }
 
-extern initialize_file_ftype _initialize_avr_tdep; /* -Wmissing-prototypes */
-
 void
 _initialize_avr_tdep (void)
 {
index 2b5e481dc0141561cb425f44a659746b5cd701b9..c888e8ca41879ce3e883b2bf37c93b2078ca99d7 100644 (file)
@@ -2756,11 +2756,9 @@ maint_agent_printf_command (char *exp, int from_tty)
   do_cleanups (old_chain);
   dont_repeat ();
 }
-\f
 
 /* Initialization code.  */
 
-void _initialize_ax_gdb (void);
 void
 _initialize_ax_gdb (void)
 {
index cd877699b58eae8908550e637f106d84521f3e87..39ef2c89bde70e94f1ca1da37443fb7e4159aa4e 100644 (file)
@@ -161,9 +161,6 @@ bfin_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
                                   bfin_linux_get_syscall_number);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_bfin_linux_tdep;
-
 void
 _initialize_bfin_linux_tdep (void)
 {
index aa9efebe2fb770b5aead50117700a6d7c95a93d0..2e99418a32d5b47350dc2b076b4d4d6f67c77834 100644 (file)
@@ -851,9 +851,6 @@ bfin_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_bfin_tdep;
-
 void
 _initialize_bfin_tdep (void)
 {
index 9b8cf64950bb9a035284f70faa807a43199c882c..805084fda1f8da661d7dd6c20d2fe8eb959551ff 100644 (file)
@@ -423,8 +423,6 @@ initialize_signal_catchpoint_ops (void)
   ops->explains_signal = signal_catchpoint_explains_signal;
 }
 
-initialize_file_ftype _initialize_break_catch_sig;
-
 void
 _initialize_break_catch_sig (void)
 {
index 1be29bea6298a93c6628cdd3d1c09df2e3d06bab..01e761ce37e19ad0225564ffebb04fb5cca76b55 100644 (file)
@@ -635,8 +635,6 @@ initialize_syscall_catchpoint_ops (void)
   ops->print_recreate = print_recreate_catch_syscall;
 }
 
-initialize_file_ftype _initialize_break_catch_syscall;
-
 void
 _initialize_break_catch_syscall (void)
 {
index da06baa026f04e02a6f3d60ec9928052d7cb236d..c8612db120aabf7ca7d66737dfd05f76eb0feff1 100644 (file)
@@ -537,8 +537,6 @@ initialize_throw_catchpoint_ops (void)
   ops->check_status = check_status_exception_catchpoint;
 }
 
-initialize_file_ftype _initialize_break_catch_throw;
-
 void
 _initialize_break_catch_throw (void)
 {
index 778a011161f035a324efc9180d378488052249cf..4b329b9bfed21d274b9146996c55adf5779f9e83 100644 (file)
@@ -551,8 +551,6 @@ gdb_evaluates_breakpoint_condition_p (void)
   return (mode == condition_evaluation_host);
 }
 
-void _initialize_breakpoint (void);
-
 /* Are we executing breakpoint commands?  */
 static int executing_breakpoint_commands;
 
index 92497003a805190b10fd8363ca866fb9eb1def39..c97dd345924cf1cbe52599a1e59658462edbc8b2 100644 (file)
@@ -547,9 +547,6 @@ bsd_uthread_target (void)
   return t;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_bsd_uthread;
-
 void
 _initialize_bsd_uthread (void)
 {
index d9810f36879ba4d92c7a10c2953a59dd2fd885b5..8527c6fd12717badc1a503c9d2793b1cdec50bc1 100644 (file)
@@ -3484,7 +3484,6 @@ show_maint_btrace_pt_skip_pad  (struct ui_file *file, int from_tty,
 
 /* Initialize btrace maintenance commands.  */
 
-void _initialize_btrace (void);
 void
 _initialize_btrace (void)
 {
index be95bbe11c5d829b6bc9fc7db3b4b58d13a60094..cc743310589289e06c11bacdbd9f69f9e3433fc3 100644 (file)
@@ -705,11 +705,8 @@ wchar_iterator::iterate (enum wchar_iterate_result *out_result,
   return -1;
 }
 
-\f
 /* The charset.c module initialization function.  */
 
-extern initialize_file_ftype _initialize_charset; /* -Wmissing-prototype */
-
 static VEC (char_ptr) *charsets;
 
 #ifdef PHONY_ICONV
index b79ceb2c3cfffa39e72b030e78df37a1cbd69f60..a2041fa509815be0fe3ba2be8ddb2028c169e426 100644 (file)
@@ -1665,10 +1665,6 @@ show_max_user_call_depth (struct ui_file *file, int from_tty,
                    value);
 }
 
-\f
-
-initialize_file_ftype _initialize_cli_cmds;
-
 void
 _initialize_cli_cmds (void)
 {
index 30897d8df7fd7a34bd6dbb79a6b9489601ca8b0e..8e59ed4f236056dbbdef7a3c03fe56cd2323f521 100644 (file)
@@ -623,8 +623,6 @@ binary_append_command (char *cmd, int from_tty)
             gdb_stdout);
 }
 
-extern initialize_file_ftype _initialize_cli_dump; /* -Wmissing-prototypes */
-
 void
 _initialize_cli_dump (void)
 {
index 8712c75f3962b3d480e1230c841b353a4c56c11d..609a419fe86a57e89890f8772b223aefb3948bef 100644 (file)
@@ -458,7 +458,6 @@ cli_interp_factory (const char *name)
 }
 
 /* Standard gdb initialization hook.  */
-extern initialize_file_ftype _initialize_cli_interp; /* -Wmissing-prototypes */
 
 void
 _initialize_cli_interp (void)
index e8ec4449b9eaef58e3df7965ed55076a59586561..67005a17ef872d715420ff94995678440119f11e 100644 (file)
@@ -203,9 +203,6 @@ show_logging_command (char *args, int from_tty)
     printf_unfiltered (_("Output will be logged and displayed.\n"));
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_cli_logging;
-
 void
 _initialize_cli_logging (void)
 {
index 1757e4e196638a0c3e7d83126f33df3948a91d29..9b2ffd06b140bee4a2e0b76285645a1f291bd87b 100644 (file)
@@ -1618,10 +1618,6 @@ show_user_1 (struct cmd_list_element *c, const char *prefix, const char *name,
   fputs_filtered ("\n", stream);
 }
 
-\f
-
-initialize_file_ftype _initialize_cli_script;
-
 void
 _initialize_cli_script (void)
 {
index e8c6b67d623835bef49f5137391600efd8171ffc..0aab8016dbde647ef1beb0f886f8f9ff8573b21f 100644 (file)
@@ -698,10 +698,6 @@ show_debug_coff_pe_read (struct ui_file *file, int from_tty,
   fprintf_filtered (file, _("Coff PE read debugging is %s.\n"), value);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-
-void _initialize_coff_pe_read (void);
-
 /* Adds "Set/show debug coff_pe_read" commands.  */
 
 void
index 9db479255731a532737983e9ec5171bcd386ab2f..4b5edf0919ed605f5ec3d823ed18bb66a83c4030 100644 (file)
@@ -43,8 +43,6 @@
 #include "psymtab.h"
 #include "build-id.h"
 
-extern void _initialize_coffread (void);
-
 /* Key for COFF-associated data.  */
 
 static const struct objfile_data *coff_objfile_data_key;
index e4865d072324b8d56c184957f886ac564170ee3f..fc23d126ef8d7b237c130128b8979ac9e03ce82a 100644 (file)
@@ -675,8 +675,6 @@ compile_register_name_demangle (struct gdbarch *gdbarch,
   error (_("Cannot find gdbarch register \"%s\"."), regname);
 }
 
-extern initialize_file_ftype _initialize_compile;
-
 void
 _initialize_compile (void)
 {
index dc60dc3be322d373ec22efd7352d554c16b5312a..aba305c72925c74520a3bee1c893abfc3583bc5b 100644 (file)
@@ -22,8 +22,6 @@
 #include "command.h"
 #include "gdbcmd.h"
 
-extern void _initialize_complaints (void);
-
 /* Should each complaint message be self explanatory, or should we
    assume that a series of complaints is being produced?  */
 
index a029263746a6fda490b3f29ff3f6b61d0984e62e..5d81f24bddedbcbe2e0c51ad3ed3189f3880ff55 100644 (file)
@@ -2775,8 +2775,6 @@ gdb_display_match_list (char **matches, int len, int max,
        }
     }
 }
-\f
-extern initialize_file_ftype _initialize_completer; /* -Wmissing-prototypes */
 
 void
 _initialize_completer (void)
index 1801997db15f9bfd811cb985e86db05b76db0121..2a71939a6f501b641fb107bb752f32bb61b73614 100644 (file)
@@ -14,8 +14,6 @@ BEGIN {
          print ""
          print "static void show_warranty_command (char *, int);"
          print ""
-         print "void _initialize_copying (void);"
-         print ""
          print "static void";
          print "show_copying_command (char *ignore, int from_tty)";
          print "{";
index 66837b87fd641a2c9391a10c229560ab2773cecf..db024627cd378442d2bce92f7391137ee594325f 100644 (file)
@@ -10,8 +10,6 @@ static void show_copying_command (char *, int);
 
 static void show_warranty_command (char *, int);
 
-void _initialize_copying (void);
-
 static void
 show_copying_command (char *ignore, int from_tty)
 {
index 278887be8f0a66144ed27c243fac78eb222dfc60..9d2b91457a02e305531436f33a8764e27d6b873c 100644 (file)
@@ -111,9 +111,6 @@ static struct core_fns regset_core_fns =
   NULL                                 /* next */
 };
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern void _initialize_core_regset (void);
-
 void
 _initialize_core_regset (void)
 {
index 0996f9c02121ae76859c0793d20adf5f173fbeb2..da3f72ffe6276386f682bf813288d1a24ee3692d 100644 (file)
 #include "observer.h"
 #include "cli/cli-utils.h"
 
-/* Local function declarations.  */
-
-extern void _initialize_core (void);
-
 /* You can have any number of hooks for `exec_file_command' command to
    call.  If there's only one hook, it is set in exec_file_display
    hook.  If there are two or more hooks, they are set in
index ac7226821c291172aab7350d6790c6d46c5ea5f6..594db1d6f287b16ca16122d168d956dc768dd0a3 100644 (file)
@@ -88,8 +88,6 @@ static void add_to_thread_list (bfd *, asection *, void *);
 
 static void init_core_ops (void);
 
-void _initialize_corelow (void);
-
 static struct target_ops core_ops;
 
 /* An arbitrary identifier for the core inferior.  */
index f4cf9448d353640d603c2709e3f21fbbb83dedfb..49fab32561f9ca92eb2add83ce2ac0aae8db1401 100644 (file)
@@ -390,8 +390,6 @@ show_cp_abi_cmd (char *args, int from_tty)
   uiout->text (").\n");
 }
 
-extern initialize_file_ftype _initialize_cp_abi; /* -Wmissing-prototypes */
-
 void
 _initialize_cp_abi (void)
 {
index c7b5aa8d45aad33de81c00edc824f5d72d37497c..f27783ae5ac48c67d8a61b34dd5fca6f22cb8518 100644 (file)
@@ -1082,9 +1082,6 @@ maintenance_cplus_namespace (char *args, int from_tty)
   printf_unfiltered (_("The `maint namespace' command was removed.\n"));
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_cp_namespace;
-
 void
 _initialize_cp_namespace (void)
 {
index 8bcbe657a4ea74a130d22f6adcac9ff951ca5fd1..11318efbcbfa80a8ead3a4553dc0442559bb64dd 100644 (file)
@@ -1628,9 +1628,6 @@ first_component_command (char *arg, int from_tty)
   printf_unfiltered ("%s\n", prefix);
 }
 
-extern initialize_file_ftype _initialize_cp_support; /* -Wmissing-prototypes */
-
-
 /* Implement "info vtbl".  */
 
 static void
index af70421fd774a07b8b33ee5a6c148c8e3f3515b8..fb9bfd904f7b21107a9b6f247e73637d978e5981 100644 (file)
@@ -74,8 +74,6 @@ static struct obstack dont_print_vb_obstack;
 static struct obstack dont_print_statmem_obstack;
 static struct obstack dont_print_stat_array_obstack;
 
-extern void _initialize_cp_valprint (void);
-
 static void cp_print_static_field (struct type *, struct value *,
                                   struct ui_file *, int,
                                   const struct value_print_options *);
index 896a35e0989736cc88813df42121cf92ef91f0ce..9219a97e40c2341d3e060e61835fdd547534f65c 100644 (file)
@@ -46,9 +46,6 @@ cris_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_cris_linux_tdep;
-
 void
 _initialize_cris_linux_tdep (void)
 {
index 85a12e25b170f346f8eea2d0af80a159577efe97..d64c99ac817f1da0234bbf4bb6d1fd32a78e8b84 100644 (file)
@@ -3866,8 +3866,6 @@ static struct core_fns cris_elf_core_fns =
   NULL                                  /* next */
 };
 
-extern initialize_file_ftype _initialize_cris_tdep; /* -Wmissing-prototypes */
-
 void
 _initialize_cris_tdep (void)
 {
index 82e7013f9765c7d25e54981f8b5f28d154aaf316..46a1bb52c358d0fe0fab1a77d4aab91ae422addb 100644 (file)
--- a/gdb/ctf.c
+++ b/gdb/ctf.c
@@ -1731,10 +1731,6 @@ Specify the filename of the CTF directory.";
 
 #endif
 
-/* -Wmissing-prototypes */
-
-extern initialize_file_ftype _initialize_ctf;
-
 /* module initialization */
 
 void
index 941d3ed4c539808b34bb250486c1705959d2159b..277df012b3561b19d54680d45a491fed7271a116 100644 (file)
@@ -342,9 +342,6 @@ builtin_d_type (struct gdbarch *gdbarch)
   return (const struct builtin_d_type *) gdbarch_data (gdbarch, d_type_data);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_d_language;
-
 void
 _initialize_d_language (void)
 {
index 91bc5b3d542821171a3b0fa7af5ccc1fde7b40cf..c15c2fd574d8ab8c75a6c087fe17f75cd32c9c63 100644 (file)
@@ -841,9 +841,6 @@ info_mach_exceptions_command (char *args, int from_tty)
     }
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_darwin_info_commands;
-
 void
 _initialize_darwin_info_commands (void)
 {
index b721da86b818068fb4df95683f68b5655ef7fe44..e96f24dd63a5a313b3543a579c9066d47cfc8dab 100644 (file)
@@ -2338,9 +2338,6 @@ darwin_supports_multi_process (struct target_ops *self)
   return 1;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_darwin_inferior;
-
 void
 _initialize_darwin_inferior (void)
 {
index daa3ce9f813367773e62b75f92e5a6bfe05f80d7..95b89f9493be8354a6cc9ff4cd472daa9d829de9 100644 (file)
@@ -249,8 +249,6 @@ static int bincls_allocated;
 
 /* Local function prototypes.  */
 
-extern void _initialize_dbxread (void);
-
 static void read_ofile_symtab (struct objfile *, struct partial_symtab *);
 
 static void dbx_read_symtab (struct partial_symtab *self,
index cec1a81e301128a750367964d79b1edfc38242c6..891fa02fbdd0ee289c7894ef21fc747ec4961f82 100644 (file)
@@ -127,8 +127,6 @@ static struct dcache_block *dcache_alloc (DCACHE *dcache, CORE_ADDR addr);
 
 static void info_dcache_command (char *exp, int tty);
 
-void _initialize_dcache (void);
-
 static int dcache_enabled_p = 0; /* OBSOLETE */
 
 static void
index 882356992eda60c2c7103c12407bf21836e56514..d034f4e3fa0d466e2e7fe126b36c11f868a7f547 100644 (file)
@@ -217,8 +217,6 @@ demangle_command (char *args, int from_tty)
     error (_("Can't demangle \"%s\""), name);
 }
 
-extern initialize_file_ftype _initialize_demangler; /* -Wmissing-prototypes */
-
 void
 _initialize_demangler (void)
 {
index 4d38ccf251b0c433656fffeeaa75c5d91874e67d..bc2f7b78060c89700e6fb4b7fa0b80a725679edf 100644 (file)
@@ -207,9 +207,6 @@ memory_error_test (struct gdbarch *gdbarch)
 } // namespace selftests
 #endif /* GDB_SELF_TEST */
 
-/* Suppress warning from -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_disasm_selftests;
-
 void
 _initialize_disasm_selftests (void)
 {
index c3528e006ff244b062d64112907298ddb3d6f29b..8061b603807406a02a1bc8750f03603797564e7b 100644 (file)
@@ -1052,9 +1052,6 @@ disassembler_options_completer (struct cmd_list_element *ignore,
 
 /* Initialization code.  */
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_disasm;
-
 void
 _initialize_disasm (void)
 {
index c611b16375d7747c9c45d5582a9e4488f072d0b2..c1a8cb02d38a0e1e91c379d842ef97fa776a82f5 100644 (file)
@@ -908,8 +908,6 @@ info_probes_dtrace_command (char *arg, int from_tty)
   info_probes_for_ops (arg, from_tty, &dtrace_probe_ops);
 }
 
-void _initialize_dtrace_probe (void);
-
 void
 _initialize_dtrace_probe (void)
 {
index 2a84b28ee7805d0c00649a56394db6d02d8b539e..8dc4c9be0f924c3ae88a173c249faf3d5df4bbd9 100644 (file)
@@ -417,8 +417,6 @@ maintenance_print_dummy_frames (char *args, int from_tty)
     }
 }
 
-extern void _initialize_dummy_frame (void);
-
 void
 _initialize_dummy_frame (void)
 {
index 310fc4df6c42b7885f238f69f97686a1d3c05f3e..b46bccddb9e0a2f06c33b1e1dcd7640087541e43 100644 (file)
@@ -464,9 +464,6 @@ const struct frame_unwind dwarf2_tailcall_frame_unwind =
   tailcall_frame_prev_arch
 };
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_tailcall_frame;
-
 void
 _initialize_tailcall_frame (void)
 {
index aaf3aee33d1be34ca67d5edc5207818e6118db45..64ae586492e41a7a17bbdc95c77f8865c4da601e 100644 (file)
@@ -2396,9 +2396,6 @@ dwarf2_build_frame_info (struct objfile *objfile)
   set_objfile_data (objfile, dwarf2_frame_objfile_data, fde_table2);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_dwarf2_frame (void);
-
 void
 _initialize_dwarf2_frame (void)
 {
index a693856ef5aa15a1d2644ca565dc9fd3895fdcc3..e2724da05c8d7e79fd23a93f1ff7b0c101a2f489 100644 (file)
@@ -1445,9 +1445,6 @@ abort_expression:
   gdb_assert (this->recursion_depth >= 0);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_dwarf2expr;
-
 void
 _initialize_dwarf2expr (void)
 {
index 1a1b06a1b268f323c327a8cbb9e98f0eee67523a..ded9e00b4fce71a9cd9c9184b4b63718629884ce 100644 (file)
@@ -4667,9 +4667,6 @@ const struct symbol_computed_ops dwarf2_loclist_funcs = {
   loclist_generate_c_location
 };
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_dwarf2loc;
-
 void
 _initialize_dwarf2loc (void)
 {
index 201a8575d82796f079e6fb4caa59490be61fb1d3..30b0fe8412b9f77f13845aa05b81bad5410194b8 100644 (file)
@@ -24104,8 +24104,6 @@ show_check_physname (struct ui_file *file, int from_tty,
                    value);
 }
 
-void _initialize_dwarf2_read (void);
-
 void
 _initialize_dwarf2_read (void)
 {
index ae84e43837c865ddace5ab281515c578ef51abb2..f3d464120f58cca73f5d52a7fae94148e6a11df8 100644 (file)
@@ -48,8 +48,6 @@
 #include "location.h"
 #include "auxv.h"
 
-extern void _initialize_elfread (void);
-
 /* Forward declarations.  */
 extern const struct sym_fns elf_sym_fns_gdb_index;
 extern const struct sym_fns elf_sym_fns_lazy_psyms;
index 92c87e4e02f096c2ec04bf305465649c876153f8..d20afdce291b4b823ed0d3a8230054f2453c8a0c 100644 (file)
@@ -57,8 +57,6 @@ static void exec_files_info (struct target_ops *);
 
 static void init_exec_ops (void);
 
-void _initialize_exec (void);
-
 /* The target vector for executable files.  */
 
 static struct target_ops exec_ops;
index cfbae2c33982d45c55bb8703d6273125cf7df51f..54ce4a22ba7cacebd8982ffc0b8fe9e7aba8248f 100644 (file)
@@ -1061,8 +1061,6 @@ ext_lang_before_prompt (const char *current_gdb_prompt)
     }
 }
 
-extern initialize_file_ftype _initialize_extension;
-
 void
 _initialize_extension (void)
 {
index 903cfd169e23d9fe684d70a60806d08254b04a7f..54f665d00708bbed06b9f07e9af37c351d8c566b 100644 (file)
@@ -37,8 +37,6 @@
 
 /* Local functions */
 
-extern void _initialize_f_language (void);
-
 static void f_printchar (int c, struct type *type, struct ui_file * stream);
 static void f_emit_char (int c, struct type *type,
                         struct ui_file * stream, int quoter);
index 8fc894ae62447034798e4d40a3df2e7dc67a3eed..5bcab9d525f25a7f8a8da45d5e0f91b4f0efed85 100644 (file)
@@ -34,7 +34,6 @@
 #include "block.h"
 #include "dictionary.h"
 
-extern void _initialize_f_valprint (void);
 static void info_common_command (char *, int);
 static void f77_get_dynamic_length_of_aggregate (struct type *);
 
index 80e0eca111ef5766ab1d9d7513d37dba92b8c5d1..5ad0dda5b433dec171d889dd09567d5d2c9a86a9 100644 (file)
@@ -1216,9 +1216,6 @@ fbsd_nat_add_target (struct target_ops *t)
   add_target (t);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_fbsd_nat;
-
 void
 _initialize_fbsd_nat (void)
 {
index 6f30197a8366adf0f66bb63a723e47ac68ca21b2..19082696326ab2f2ef2209e5d8340a353008b140 100644 (file)
@@ -524,9 +524,6 @@ fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_gdbarch_get_syscall_number (gdbarch, fbsd_get_syscall_number);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_fbsd_tdep;
-
 void
 _initialize_fbsd_tdep (void)
 {
index 1e42d83b71d349d8371e07b4317f57fd4cf09b50..624563aef3b66da8f53a0670101b39537f7bd698 100644 (file)
@@ -76,9 +76,6 @@ is \"%s\".\n"),
                      value);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_filesystem;
-
 void
 _initialize_filesystem (void)
 {
index 9944aedaa747d1e5380e490537858ac801682405..e35c224ad015e83abb86c4d533a0c73c186d1b6d 100644 (file)
@@ -317,9 +317,6 @@ find_command (char *args, int from_tty)
   do_cleanups (old_cleanups);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_mem_search;
-
 void
 _initialize_mem_search (void)
 {
index 60985d852dde4e5ac3723959c32a1f869c34a75f..194aab57cac924419e0edf5d5698d37c5fc5bc98 100644 (file)
@@ -159,9 +159,6 @@ show_startup_with_shell (struct ui_file *file, int from_tty,
                    value);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_fork_child;
-
 void
 _initialize_fork_child (void)
 {
index 4f7213daae7b73d07a28b3bf94805fa6478ddde6..ba438dc08e778b9ecffa62ffd1d1f50f123e2e04 100644 (file)
@@ -120,8 +120,6 @@ frame_base_find_by_frame (struct frame_info *this_frame)
   return table->default_base;
 }
 
-extern initialize_file_ftype _initialize_frame_base; /* -Wmissing-prototypes */
-
 void
 _initialize_frame_base (void)
 {
index 3a750130594b1c6de2a68ca7085a2d560fa3cd06..096631c58b0fa6b6ebad907d9558c1bda75da174 100644 (file)
@@ -288,9 +288,6 @@ frame_unwind_got_address (struct frame_info *frame, int regnum,
   return reg_val;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_frame_unwind;
-
 void
 _initialize_frame_unwind (void)
 {
index 55d4ddb396fa589644bace319dab5f4b6451043a..f100da356ab6a1aa4fe87fae98fc5e1f4f7511cf 100644 (file)
@@ -2927,8 +2927,6 @@ frame_prepare_for_sniffer (struct frame_info *frame,
   return make_cleanup (frame_cleanup_after_sniffer, frame);
 }
 
-extern initialize_file_ftype _initialize_frame; /* -Wmissing-prototypes */
-
 static struct cmd_list_element *set_backtrace_cmdlist;
 static struct cmd_list_element *show_backtrace_cmdlist;
 
index cd02669d2530c6a2435e7c596d8ed0a4662a3d15..7974f751f6ac88a67479ec953dda2f9c600f1e55 100644 (file)
@@ -480,9 +480,6 @@ frv_linux_elf_osabi_sniffer (bfd *abfd)
     return GDB_OSABI_UNKNOWN;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_frv_linux_tdep (void);
-
 void
 _initialize_frv_linux_tdep (void)
 {
index c0257bdb4cd4eea0544a464aa35dcc90a703eee6..8a3a8932829b30ba61ef2bf002a9db801ce4d920 100644 (file)
@@ -39,8 +39,6 @@
 #include "frv-tdep.h"
 #include "objfiles.h"
 
-extern void _initialize_frv_tdep (void);
-
 struct frv_unwind_cache                /* was struct frame_extra_info */
   {
     /* The previous frame's inner-most stack address.  Used as this
index 5a7aea1bd2d9743e01b792c82d710af98a6b5427..a988421ec3964cf78105d56f27e9a6080e0a94b5 100644 (file)
 
 #define RAM_BIAS  0x800000  /* Bias added to RAM addresses.  */
 
-/* Local functions.  */
-
-extern void _initialize_ft32_tdep (void);
-
 /* Use an invalid address -1 as 'not available' marker.  */
 enum { REG_UNAVAIL = (CORE_ADDR) (-1) };
 
index 07c1997bfdff4479666f509bf3b76ef5ceeaf9ff..69e5eb9575e433b5450c7e6478e91638b45e1a43 100644 (file)
@@ -609,9 +609,6 @@ gcore_memory_sections (bfd *obfd)
   return 1;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_gcore;
-
 void
 _initialize_gcore (void)
 {
index c0dc19163556594cb71e6fb10f649620558abe08..d80b3fb7bcdd5a0c61181586ab5a5702fcf97cb3 100644 (file)
@@ -987,9 +987,6 @@ maintenance_info_bfds (char *arg, int from_tty)
   htab_traverse (all_bfds, print_one_bfd, uiout);
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_gdb_bfd;
-
 void
 _initialize_gdb_bfd (void)
 {
index 24521b5e231055fc6bdc624b86664f0d3f72f050..5a84879ae1e58f99d3f44eed8fc6ab5487471893 100644 (file)
@@ -5479,8 +5479,6 @@ target_gdbarch (void)
   return current_inferior ()->gdbarch;
 }
 
-extern void _initialize_gdbarch (void);
-
 void
 _initialize_gdbarch (void)
 {
index 36451b1a2fb1fe44a6075e03581fb9321e024e8d..026065e52a842d479c6a18869f978742161057a2 100755 (executable)
@@ -2525,8 +2525,6 @@ target_gdbarch (void)
   return current_inferior ()->gdbarch;
 }
 
-extern void _initialize_gdbarch (void);
-
 void
 _initialize_gdbarch (void)
 {
index fc86225bf673ffbf9f1210cba2d2d1f0081afda6..37162d050d0578082632f67183f01d26805d758e 100644 (file)
@@ -5368,8 +5368,6 @@ objfile_type (struct objfile *objfile)
   return objfile_type;
 }
 
-extern initialize_file_ftype _initialize_gdbtypes;
-
 void
 _initialize_gdbtypes (void)
 {
index d5e3841e68c74c2fd7b04b8bec1244ede01ef655..d3726e78424ec21a31c548a2f17ecdd95d3edb97 100644 (file)
@@ -3480,11 +3480,6 @@ to the thread's initial suspend-count when gdb notices the threads."),
           &thread_cmd_list);
 }
 
-\f
-
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_gnu_nat;
-
 void
 _initialize_gnu_nat (void)
 {
index 91c42015aae419c2530e0929d50f5ce1b5e909ca..c25b23089c9a506fcbe61366b2d3900377a66241 100644 (file)
@@ -413,8 +413,6 @@ init_gnuv2_ops (void)
   gnu_v2_abi_ops.baseclass_offset = gnuv2_baseclass_offset;
 }
 
-extern initialize_file_ftype _initialize_gnu_v2_abi; /* -Wmissing-prototypes */
-
 void
 _initialize_gnu_v2_abi (void)
 {
index f5d3d13a537c7e283409aa2360a94f9946b4e085..aad812b47ac1ee897e7cdba2961a47c9aa491c79 100644 (file)
@@ -1358,8 +1358,6 @@ init_gnuv3_ops (void)
   gnu_v3_abi_ops.pass_by_reference = gnuv3_pass_by_reference;
 }
 
-extern initialize_file_ftype _initialize_gnu_v3_abi; /* -Wmissing-prototypes */
-
 void
 _initialize_gnu_v3_abi (void)
 {
index 60bb3c55472804f3349b551c60f364b9dc63c0d1..7441bb30f6fbd56dd57670bb434e9298c06c6f5b 100644 (file)
@@ -670,8 +670,6 @@ builtin_go_type (struct gdbarch *gdbarch)
   return (const struct builtin_go_type *) gdbarch_data (gdbarch, go_type_data);
 }
 
-extern initialize_file_ftype _initialize_go_language;
-
 void
 _initialize_go_language (void)
 {
index 4e609a87e7a7e58a0f170f258461b452bee0d8fb..92f7381ef6f2b2ba8d0c1ce323ecc1af0f4d04b7 100644 (file)
@@ -2058,9 +2058,6 @@ go32_info_dos_command (char *args, int from_tty)
   help_list (info_dos_cmdlist, "info dos ", class_info, gdb_stdout);
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_go32_nat;
-
 void
 _initialize_go32_nat (void)
 {
index 0dadc3ccc8a78a405b81d4a312545b1f6ac6ce77..d6252d6855e0f306cb6d618f30271fe54485d3c4 100644 (file)
@@ -815,9 +815,6 @@ message == an error message without a stack will be printed."),
                        &set_guile_list, &show_guile_list);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_guile;
-
 void
 _initialize_guile (void)
 {
index 1e8bde17fcd4cb3d8996cf5c0c9f326613d5cc5b..7edc3ccaed016c36699a2887e4cfbd08b5a847ff 100644 (file)
@@ -1396,8 +1396,6 @@ h8300_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
 
 }
 
-extern initialize_file_ftype _initialize_h8300_tdep; /* -Wmissing-prototypes */
-
 void
 _initialize_h8300_tdep (void)
 {
index c8eb93c51c00a827d9f0f5859ce9eecc0720ef7c..c190a4bf35e9e92df00f84959362f2baf5f7484c 100644 (file)
@@ -377,8 +377,6 @@ fill_fpregset (const struct regcache *regcache,
    }
 }
 
-void _initialize_hppa_linux_nat (void);
-
 void
 _initialize_hppa_linux_nat (void)
 {
index a560bbc3b9b4fad1493b57fa1ef6554db25589df..9fc06e8189e90490d30ac1dd3b8f2cf15b2f0dee 100644 (file)
@@ -483,10 +483,6 @@ hppa_linux_iterate_over_regset_sections (struct gdbarch *gdbarch,
       NULL, cb_data);
   cb (".reg2", 64 * 4, &hppa_linux_fpregset, NULL, cb_data);
 }
-\f
-
-/* Forward declarations.  */
-extern initialize_file_ftype _initialize_hppa_linux_tdep;
 
 static void
 hppa_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
index 54c776cf59a023a42fe5a426941dc0eb1837b0a9..98ac4092a59f89c80339a2c453d0d6f421ffc8d7 100644 (file)
@@ -222,10 +222,6 @@ hppanbsd_store_registers (struct target_ops *ops,
     }
 }
 
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_hppanbsd_nat (void);
-
 void
 _initialize_hppanbsd_nat (void)
 {
index 1beea448e31d29922c76d75838b5d7d145118a9c..2401784ddafd205d80de17a6d36aa23ba07617d3 100644 (file)
@@ -205,10 +205,6 @@ hppanbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 
   tramp_frame_prepend_unwinder (gdbarch, &hppanbsd_sigtramp_si4);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_hppanbsd_tdep;
 
 void
 _initialize_hppanbsd_tdep (void)
index 7a255c9953e49e0655af1e554803aeed96789892..bc7ef9338b26e380d8c90ee4c96da3b8ed26cd01 100644 (file)
@@ -246,9 +246,6 @@ hppaobsd_store_registers (struct target_ops *ops,
     }
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_hppaobsd_nat (void);
-
 void
 _initialize_hppaobsd_nat (void)
 {
index 91a45c09e16de60e5fd628c9ca321081028eae28..3e92ff91abaf57d21a3390e4c36d1e2b0487150e 100644 (file)
@@ -164,10 +164,6 @@ hppaobsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_gdbarch_iterate_over_regset_sections
     (gdbarch, hppaobsd_iterate_over_regset_sections);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_hppabsd_tdep (void);
 
 void
 _initialize_hppabsd_tdep (void)
index 229b061b1061a9b44fe0d84c0a785afcfa9374db..1a04588411d185b061b45f6efacc88864fcca33c 100644 (file)
@@ -3187,9 +3187,6 @@ hppa_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file)
   fprintf_unfiltered (file, "elf = %s\n", tdep->is_elf ? "yes" : "no");
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_hppa_tdep;
-
 void
 _initialize_hppa_tdep (void)
 {
index 1de6c780c0375f9bceaaf9739715fc6d62482112..791c29254c0af0e04bd85c67cfef873463abed32 100644 (file)
@@ -280,10 +280,6 @@ i386bsd_target (void)
   t->to_store_registers = i386bsd_store_inferior_registers;
   return t;
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_i386bsd_nat (void);
 
 void
 _initialize_i386bsd_nat (void)
index c8139ff047b52c7edbde64c4b2e8e1f29b0519ff..eb6e05346ce93ff02a5edbd6a3ce2afd355e4438 100644 (file)
@@ -252,9 +252,6 @@ i386_cygwin_osabi_sniffer (bfd *abfd)
   return GDB_OSABI_UNKNOWN;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_i386_cygwin_tdep (void);
-
 void
 _initialize_i386_cygwin_tdep (void)
 {
index 0c558ccf5610d69d20c64643b70ff1eefaf664e2..a888e10c895ba161edd90c78ff6c82858230788b 100644 (file)
@@ -287,9 +287,6 @@ i386_mach_o_osabi_sniffer (bfd *abfd)
   return GDB_OSABI_UNKNOWN;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_i386_darwin_tdep;
-
 void
 _initialize_i386_darwin_tdep (void)
 {
index ff0018ed1d489e4efc9a811ad687b11dfc5ef635..fba9c607e79297ff1348c3986d10644378aa9d6b 100644 (file)
@@ -40,9 +40,6 @@ i386_dicos_osabi_sniffer (bfd *abfd)
   return GDB_OSABI_UNKNOWN;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_i386_dicos_tdep (void);
-
 void
 _initialize_i386_dicos_tdep (void)
 {
index 3b2ed318215b76134953284ee7c5679a3247cd5f..53f58a7ab6f777eecba3ebd26090da7627c9c13d 100644 (file)
@@ -147,9 +147,6 @@ i386fbsd_read_description (struct target_ops *ops)
 }
 #endif
 
-/* Prevent warning from -Wmissing-prototypes.  */
-void _initialize_i386fbsd_nat (void);
-
 void
 _initialize_i386fbsd_nat (void)
 {
index baca978612d64d415ca613fb07054526d83d27d1..5a2c67eb206f73dfbff0ee1f63b51d36d8bf2ddb 100644 (file)
@@ -417,10 +417,6 @@ i386fbsd4_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
                                     i386fbsd_core_read_description);
 }
 
-\f
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_i386fbsd_tdep (void);
-
 void
 _initialize_i386fbsd_tdep (void)
 {
index 3bce88a20608c1c3575a03491112c389d8f71e99..07e3a8361c12fe3cf8cc6bbad2f32104740da071 100644 (file)
@@ -409,9 +409,6 @@ i386_gnu_dr_get_control (void)
 }
 #endif /* i386_DEBUG_STATE */
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_i386gnu_nat;
-
 void
 _initialize_i386gnu_nat (void)
 {
index a5f53bc09f53e5665e90d331d1f787e1fd9f16d6..f178ae08678453367cac5f2985cb675797078e67 100644 (file)
@@ -61,9 +61,6 @@ i386gnu_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   tdep->jb_pc_offset = 20;     /* From <bits/setjmp.h>.  */
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern void _initialize_i386gnu_tdep (void);
-
 void
 _initialize_i386gnu_tdep (void)
 {
index b08470f3058661807a50594f4fbe210405a6cc24..dd86c2f35376daeb11eb084c6bb0afa0461be2b5 100644 (file)
@@ -702,10 +702,6 @@ i386_linux_resume (struct target_ops *ops,
   if (ptrace (request, pid, 0, gdb_signal_to_host (signal)) == -1)
     perror_with_name (("ptrace"));
 }
-\f
-
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_i386_linux_nat;
 
 void
 _initialize_i386_linux_nat (void)
index 3e2bee916a1c11cb752f4e011e91f9fde00f904b..87a9598f8af2b651e41b7350702ea75047b83e8d 100644 (file)
@@ -1076,9 +1076,6 @@ i386_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
                                         i386_linux_handle_segmentation_fault);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern void _initialize_i386_linux_tdep (void);
-
 void
 _initialize_i386_linux_tdep (void)
 {
index 3d40ad27d4edbbf8df0444b19b197c6d3aa146cb..f862c6870d8070291dd8879300fa34fe4968d5a2 100644 (file)
@@ -70,10 +70,6 @@ i386nbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
 
   return 1;
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_i386nbsd_nat (void);
 
 void
 _initialize_i386nbsd_nat (void)
index 7a3b0a4eb3dea063f4c8d242aabc2252939cc76b..263cb99cbd4eacef645a22bbab97dad49fb65f40 100644 (file)
@@ -316,9 +316,6 @@ i386nbsdelf_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   tdep->struct_return = pcc_struct_return;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_i386nbsd_tdep;
-
 void
 _initialize_i386nbsd_tdep (void)
 {
index 3fe715f4ca00cc7dcd36075cfaf3d5e3db945ca4..5f0b88614abd70aff85e28122bbe936fcf60b004 100644 (file)
@@ -367,9 +367,6 @@ i386nto_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_gdbarch_wchar_signed (gdbarch, 0);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_i386nto_tdep;
-
 void
 _initialize_i386nto_tdep (void)
 {
index ddff12235bf935f57e582c285c5412667b98758a..76079afaa65bf810b46b87333575f3efbb8af4d0 100644 (file)
@@ -87,10 +87,6 @@ i386obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
 
   return 1;
 }
-\f
-
-/* Prevent warning from -Wmissing-prototypes.  */
-void _initialize_i386obsd_nat (void);
 
 void
 _initialize_i386obsd_nat (void)
index 22375c5b7508a0ba6327b63a276da6ba58ab67b8..5dfda15360493135bf8e651603bd6bd1b12a07ce 100644 (file)
@@ -442,10 +442,6 @@ i386obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_solib_svr4_fetch_link_map_offsets
     (gdbarch, svr4_ilp32_fetch_link_map_offsets);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_i386obsd_tdep (void);
 
 void
 _initialize_i386obsd_tdep (void)
index 873050e885c864c79c22e642df061076ffac4372..0c5d03fb0d35208276e8339b17baf63d5462f55c 100644 (file)
@@ -130,9 +130,6 @@ fill_fpregset (const struct regcache *regcache,
 
 #endif
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern void _initialize_amd64_sol2_nat (void);
-
 void
 _initialize_amd64_sol2_nat (void)
 {
index 356d56edbb0726836c4e7104ec4480bb27733804..cfa336e0d1090e1a3e0f10e6e966aedb93e33d62 100644 (file)
@@ -150,9 +150,6 @@ i386_sol2_osabi_sniffer (bfd *abfd)
   return GDB_OSABI_UNKNOWN;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_i386_sol2_tdep (void);
-
 void
 _initialize_i386_sol2_tdep (void)
 {
index 74011398abebf118aba3a2f63d7759f948cc9c29..eefa03a3bf5290953d520d9e01bce7caa3926f5d 100644 (file)
@@ -8984,9 +8984,6 @@ show_mpx_cmd (char *args, int from_tty)
   cmd_show_list (mpx_show_cmdlist, from_tty, "");
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_i386_tdep (void);
-
 void
 _initialize_i386_tdep (void)
 {
index 7339e4e50900c086e46aee1cbfe7bc9bf52c1464..2a309c3c7e9d63909aa9a446b609bdfa7a27365b 100644 (file)
@@ -79,9 +79,6 @@ i386_windows_segment_register_p (int regnum)
   return regnum >= I386_CS_REGNUM && regnum <= I386_GS_REGNUM;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_i386_windows_nat;
-
 void
 _initialize_i386_windows_nat (void)
 {
index 025c87039e2c92c5e251ba595bf68e55d46848a3..62b5bb3bee8d8fd499b32619a37ee55a5fd8fe85 100644 (file)
@@ -592,9 +592,6 @@ libunwind_is_initialized (void)
   return libunwind_initialized;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_libunwind_frame (void);
-
 void
 _initialize_libunwind_frame (void)
 {
index a532b983859a0c3659045637e5749252a6a64e1d..14b6843104049b62901de1eab7c10298c8202506 100644 (file)
@@ -891,8 +891,6 @@ ia64_linux_status_is_event (int status)
                                 || WSTOPSIG (status) == SIGILL);
 }
 
-void _initialize_ia64_linux_nat (void);
-
 void
 _initialize_ia64_linux_nat (void)
 {
index 3f914dee16fcd2366ddd9ee56bc275f3fc321c36..c08d494c974dfc96ebc1ad9f0cf7bbf22d98e507 100644 (file)
@@ -256,9 +256,6 @@ ia64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
                                      ia64_linux_stap_is_single_operand);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_ia64_linux_tdep;
-
 void
 _initialize_ia64_linux_tdep (void)
 {
index 5a16db1563c2a125bf20bab0cb91f7018dc2bb33..5fc32a8bfc4698a738db4e732d999f6cbe880003 100644 (file)
@@ -4038,8 +4038,6 @@ ia64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-extern initialize_file_ftype _initialize_ia64_tdep; /* -Wmissing-prototypes */
-
 void
 _initialize_ia64_tdep (void)
 {
index fa22cf718d25252b397be98852a63f0cfb387fef..f47cf0a1933918e378a4e03020949c809b770c7f 100644 (file)
@@ -154,9 +154,6 @@ ia64_openvms_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 #endif
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_ia64_vms_tdep;
-
 void
 _initialize_ia64_vms_tdep (void)
 {
index cd3eedfeeb712b27234a68cf8af394558ce4f57d..5df04e3b9a957e207abb93e6f4c7f34593375e95 100644 (file)
@@ -1412,10 +1412,6 @@ When the function is done executing, GDB will silently stop."),
   /* The above code errors out, so ...  */
   gdb_assert_not_reached ("... should not be here");
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_infcall (void);
 
 void
 _initialize_infcall (void)
index 3b7178c4d8e936e8c8ab1a468f02022ebd7b06c9..25cf0254262cbf805edf2937d5afd790c95d3237 100644 (file)
@@ -100,8 +100,6 @@ static void step_command (char *, int);
 
 static void run_command (char *, int);
 
-void _initialize_infcmd (void);
-
 #define ERROR_NO_INFERIOR \
    if (!target_has_execution) error (_("The program is not being run."));
 
index a20c6c5b9baf6e09b2c24d8c091dd0a902689799..b916909905c052499dab27c45b03b9c5edd1bceb 100644 (file)
@@ -37,8 +37,6 @@
 #include "readline/tilde.h"
 #include "progspace-and-thread.h"
 
-void _initialize_inferiors (void);
-
 /* Keep a registry of per-inferior data-pointers required by other GDB
    modules.  */
 
index 41a2251e885d90a9c74da036e92b19a1be5a0db1..0e8c0f3c80d9b8378b1709e3176b98b0b03a76bc 100644 (file)
@@ -42,8 +42,6 @@
 #define O_NOCTTY 0
 #endif
 
-extern void _initialize_inflow (void);
-
 static void pass_signal (int);
 
 static void child_terminal_ours_1 (int);
index 1e301d3a44107343d4c8fb908e5fbb3017eab20d..3f2ac85b919fe60fef399c673a0c05e82cc9ce72 100644 (file)
@@ -95,8 +95,6 @@ static void set_schedlock_func (char *args, int from_tty,
 
 static int currently_stepping (struct thread_info *tp);
 
-void _initialize_infrun (void);
-
 void nullify_last_target_wait_ptid (void);
 
 static void insert_hp_step_resume_breakpoint_at_frame (struct frame_info *);
index 1e59034a5e87b052bdd1007ea0019ca10e5455fb..19694ff8281558222fc7ad631965de6b0c16fa86 100644 (file)
@@ -74,8 +74,6 @@ get_current_interp_info (void)
 
 /* The magic initialization routine for this module.  */
 
-void _initialize_interpreter (void);
-
 static struct interp *interp_lookup_existing (struct ui *ui,
                                              const char *name);
 
index 99824b7f8aae17b2b5dad87f6fcb7fab229a1e47..deafaaa38dd58971b8d377d7af8fb0e2be362ffa 100644 (file)
@@ -858,9 +858,6 @@ iq2000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
    Initializer function for the iq2000 module.
    Called by gdb at start-up.  */
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_iq2000_tdep;
-
 void
 _initialize_iq2000_tdep (void)
 {
index 725d41ef0a5b01a22d5994bdd4b7b336fd3c10a9..72eed50befdbd01326f3adb8a2879d9c83047bae 100644 (file)
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -1501,10 +1501,6 @@ jit_gdbarch_data_init (struct obstack *obstack)
   return data;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-
-extern void _initialize_jit (void);
-
 void
 _initialize_jit (void)
 {
index 073039e32666803587ad16895105bed1b59a27f3..7f870d83522d945abd91b248f42d123c73d547b5 100644 (file)
@@ -46,8 +46,6 @@
 #include "c-lang.h"
 #include <algorithm>
 
-extern void _initialize_language (void);
-
 static void unk_lang_error (const char *);
 
 static int unk_lang_parser (struct parser_state *);
index 16403c96016690371dd59156b7f2feb234ea3b2c..22a11c6529bfa16313c403fa4e76f517c538d1ab 100644 (file)
@@ -38,9 +38,6 @@
 struct fork_info *fork_list;
 static int highest_fork_num;
 
-/* Prevent warning from -Wmissing-prototypes.  */
-extern void _initialize_linux_fork (void);
-
 /* Fork list data structure:  */
 struct fork_info
 {
index 41243185d7f197d9d6ada00f8fffefe9b360e9fb..89e0c62fb13d3527801dcd4e36a126d15d81cb35 100644 (file)
@@ -4952,9 +4952,6 @@ current_lwp_ptid (void)
   return inferior_ptid;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_linux_nat;
-
 void
 _initialize_linux_nat (void)
 {
index eb446599528ee13143cac584b1abcaed8a6eefb9..61ea13c6a856923c9bb23c96a364f6eb9d911613 100644 (file)
@@ -2552,9 +2552,6 @@ linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_gdbarch_get_siginfo_type (gdbarch, linux_get_siginfo_type);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_linux_tdep;
-
 void
 _initialize_linux_tdep (void)
 {
index 6d981357cf804f7c366326cc0f130cbfe0fa7d58..6567e93b06691e1fc6a0704d5206173ea83531f4 100644 (file)
@@ -1696,9 +1696,6 @@ init_thread_db_ops (void)
   complete_target_initialization (&thread_db_ops);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_thread_db;
-
 void
 _initialize_thread_db (void)
 {
index 1ca6c08bf2da769329301e31b7395c8ff0fd4a74..24bc5c2cbe2fbd378b3a4eea68045872754cd904 100644 (file)
@@ -571,9 +571,6 @@ lm32_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_lm32_tdep;
-
 void
 _initialize_lm32_tdep (void)
 {
index b9ab2b3c729724e7b4bbd896945f3b78018cd21f..ddd50af54cb622dad2d6a9477ace5bef20057147 100644 (file)
@@ -28,7 +28,6 @@
 #include "c-lang.h"
 #include "valprint.h"
 
-extern void _initialize_m2_language (void);
 static void m2_printchar (int, struct type *, struct ui_file *);
 static void m2_emit_char (int, struct type *, struct ui_file *, int);
 
index 1bc5950c6e04586e1ba0cf11195d2567e57a7532..73591413c841b8582ae6f2211fea63232098a438 100644 (file)
@@ -2681,9 +2681,6 @@ m32c_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_m32c_tdep;
-
 void
 _initialize_m32c_tdep (void)
 {
index a33de23dc3296afc3ed34b4422cbebabff127521..65d85e16b944583d69129b715bf21d10d7d8224f 100644 (file)
@@ -231,8 +231,6 @@ m32r_linux_store_inferior_registers (struct target_ops *ops,
                  _("Got request to store bad register number %d."), regno);
 }
 
-void _initialize_m32r_linux_nat (void);
-
 void
 _initialize_m32r_linux_nat (void)
 {
index f72dccd464493983a98c71f848338c89525995ee..c61f2e3a6a685cd41d10ff13f00330302a45e1fb 100644 (file)
@@ -470,9 +470,6 @@ m32r_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
                                              svr4_fetch_objfile_link_map);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern void _initialize_m32r_linux_tdep (void);
-
 void
 _initialize_m32r_linux_tdep (void)
 {
index 28017b67cac3580bc05b576844fd4de8b070e467..d40c39069e2b1ec6ca7c3faf37d927b6cd3d9173 100644 (file)
@@ -44,8 +44,6 @@
 
 /* Local functions */
 
-extern void _initialize_m32r_tdep (void);
-
 static CORE_ADDR
 m32r_frame_align (struct gdbarch *gdbarch, CORE_ADDR sp)
 {
index b0b97b2de40eeb069b4ac8e17262539483ba876c..b144d8b3542d7a1c99d0cd95512545bfad7b004e 100644 (file)
@@ -1543,9 +1543,6 @@ m68hc11_gdbarch_init (struct gdbarch_info info,
   return gdbarch;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_m68hc11_tdep;
-
 void
 _initialize_m68hc11_tdep (void)
 {
index e0aee05ce5ca4489ab206791917dd99f6bdd093c..bdd00b922388f608faa351e366f2d133eedbd2a0 100644 (file)
@@ -215,10 +215,6 @@ m68kbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
 
   return 1;
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_m68kbsd_nat (void);
 
 void
 _initialize_m68kbsd_nat (void)
index 45f43969785c5cda3016dbaaf281249b64270057..6b7cb3cfd691ee5c0e5cb8558f8cdea711348cfe 100644 (file)
@@ -150,10 +150,6 @@ m68kbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_solib_svr4_fetch_link_map_offsets
     (gdbarch, svr4_ilp32_fetch_link_map_offsets);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_m68kbsd_tdep (void);
 
 void
 _initialize_m68kbsd_tdep (void)
index eb143753222535e16b8c072f0219ec3ee9fa8547..0915cbec8b86057798de262225b6c1018b843197 100644 (file)
@@ -505,9 +505,6 @@ ps_get_thread_area (struct ps_prochandle *ph,
 
   return PS_OK;
 }
-\f
-
-void _initialize_m68k_linux_nat (void);
 
 void
 _initialize_m68k_linux_nat (void)
index 4e6221ebdfbd2de74c4c3e2e885c302c35d3d634..fa0848f453aafc2f41adaff6b1cf9c6a1db88430 100644 (file)
@@ -423,9 +423,6 @@ m68k_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
                                              svr4_fetch_objfile_link_map);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_m68k_linux_tdep;
-
 void
 _initialize_m68k_linux_tdep (void)
 {
index 619a40b9a9fc5a83fa3c1c5f4b7aacb58b697840..afd86782198b3e01f060829967ed2ecd95a6e65d 100644 (file)
@@ -1279,8 +1279,6 @@ m68k_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file)
     return;
 }
 
-extern initialize_file_ftype _initialize_m68k_tdep; /* -Wmissing-prototypes */
-
 void
 _initialize_m68k_tdep (void)
 {
index 9549b8d3a21a0f14bbce2fd46616b12b207d39e7..4a3e32eba201f66bdd73824c2171c7a3eec2c3e2 100644 (file)
@@ -94,10 +94,6 @@ m88kbsd_store_inferior_registers (struct target_ops *ops,
              (PTRACE_TYPE_ARG3) &regs, 0) == -1)
     perror_with_name (_("Couldn't write registers"));
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_m88kbsd_nat (void);
 
 void
 _initialize_m88kbsd_nat (void)
index d08a9130c727d316308f57a7945c4d2919e7042b..9f1688abf0abfc63262450fcace995564355f30f 100644 (file)
@@ -861,10 +861,6 @@ m88k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
 
   return gdbarch;
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_m88k_tdep (void);
 
 void
 _initialize_m88k_tdep (void)
index 1c317ed822541f0552129d3d4b9ddf42d1c1fe9c..e1833e293b08f37057414d7769497ff978ab96b5 100644 (file)
@@ -994,9 +994,6 @@ static const struct sym_fns macho_sym_fns = {
   &psym_functions
 };
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_machoread;
-
 void
 _initialize_machoread (void)
 {
index cb6c38c91b871c59804d1eddb5ab13b9f9d5e6f9..957c47997cf155760ae6cb5e192aad24faf1e811 100644 (file)
@@ -481,11 +481,8 @@ macro_list_command (char *exp, int from_tty)
   macro_for_each (macro_user_macros, print_one_macro);
 }
 
-\f
 /* Initializing the `macrocmd' module.  */
 
-extern initialize_file_ftype _initialize_macrocmd; /* -Wmissing-prototypes */
-
 void
 _initialize_macrocmd (void)
 {
index a3a9c9ccb9d951a831a971c8e6e47c0c65acb046..481775f80abfb95dd87f81d0009ee46ad767944d 100644 (file)
@@ -156,9 +156,6 @@ standard_macro_lookup (const char *name, void *baton)
   return result;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_macroscope;
-
 void
 _initialize_macroscope (void)
 {
index 28f7287b31b5aa45ea31b0d3a64702421d31063a..6dd6e8b6954ba772c1bd357157811f495a5197ff 100644 (file)
@@ -44,8 +44,6 @@
 #include "cli/cli-utils.h"
 #include "cli/cli-setshow.h"
 
-extern void _initialize_maint_cmds (void);
-
 static void maintenance_command (char *, int);
 
 static void maintenance_internal_error (char *args, int from_tty);
index 8e27194a642960e09c0d484a11dff52d68b80daf..d9942166c5c3c921f87f744a545ac9befdded117 100644 (file)
@@ -68,8 +68,6 @@
 
 #include "expression.h"
 
-extern void _initialize_mdebugread (void);
-
 /* Provide a way to test if we have both ECOFF and ELF symbol tables.
    We use this define in order to know whether we should override a 
    symbol's ECOFF section with its ELF section.  This is necessary in 
index 8604e53ac2dddaec4ad084f96ae4566247ddb349..c1ac978d9fb9a2836a99b164769dbdd2a7513ce0 100644 (file)
@@ -687,8 +687,6 @@ static void
 dummy_cmd (char *args, int from_tty)
 {
 }
-\f
-extern initialize_file_ftype _initialize_mem; /* -Wmissing-prototype */
 
 static struct cmd_list_element *mem_set_cmdlist;
 static struct cmd_list_element *mem_show_cmdlist;
index 7e9b855fca090888d4cf911ea0073a2341bbffd7..fffd40569cc65ad8323e5adf7e1346664e666225 100644 (file)
@@ -2503,9 +2503,6 @@ mep_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_mep_tdep;
-
 void
 _initialize_mep_tdep (void)
 {
index f24f387b14fcaff4d33747be60c9bab85bae867b..977b6e274da36dcd2f0c1fa7fd9b62626980d2ec 100644 (file)
@@ -34,8 +34,6 @@
 
 static void env_mod_path (char *dirname, char **which_path);
 
-extern void _initialize_mi_cmd_env (void);
-
 static const char path_var_name[] = "PATH";
 static char *orig_path = NULL;
 
index b7494ce838ea2921f43f862551468e6401ed8fab..18f6653e18ed30555ad50c41c453d7bc6aed75f2 100644 (file)
@@ -23,8 +23,6 @@
 #include "mi-cmds.h"
 #include "mi-main.h"
 
-extern void _initialize_mi_cmds (void);
-
 struct mi_cmd;
 static struct mi_cmd **lookup_table (const char *command);
 static void build_table (struct mi_cmd *commands);
index 6b6d8f06222865e3073e90a39eb077bd203f4b9a..ca8ff1437b740c69efe5aec49edd50470516dde7 100644 (file)
@@ -1411,8 +1411,6 @@ mi_interp_factory (const char *name)
   return new mi_interp (name);
 }
 
-extern initialize_file_ftype _initialize_mi_interp; /* -Wmissing-prototypes */
-
 void
 _initialize_mi_interp (void)
 {
index c485544d03b6a68621fc8a63391df542cda45f16..8e3684abaf2e58510f184398a0e8c743931becad 100644 (file)
@@ -87,7 +87,6 @@ int running_result_record_printed = 1;
    command was issued.  */
 int mi_proceeded;
 
-extern void _initialize_mi_main (void);
 static void mi_cmd_execute (struct mi_parse *parse);
 
 static void mi_execute_cli_command (const char *cmd, int args_p,
index 54e7ad1e90d03ee4fe86c78ed0d6d8c5c1602eda..285eefe33fb78a98111360dcd28c5f1697f38fea 100644 (file)
@@ -135,9 +135,6 @@ microblaze_linux_init_abi (struct gdbarch_info info,
                                &microblaze_linux_sighandler_tramp_frame);
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_microblaze_linux_tdep;
-
 void
 _initialize_microblaze_linux_tdep (void)
 {
index 55c77151f8ff9dedcf21864121538a945e926436..7547581c63a59e93392bd02e635da6def4392b56 100644 (file)
@@ -759,9 +759,6 @@ microblaze_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_microblaze_tdep (void);
-
 void
 _initialize_microblaze_tdep (void)
 {
index c3811865354678f2876ccb02eea85612944a0309..f86d447a449cf1d5153cb87ec137c97f9ba0f391 100644 (file)
@@ -119,10 +119,6 @@ mips_fbsd_store_inferior_registers (struct target_ops *ops,
        perror_with_name (_("Couldn't write floating point status"));
     }
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_mips_fbsd_nat (void);
 
 void
 _initialize_mips_fbsd_nat (void)
index feb18e1a7aca976a26d57dc9f6080a1c447e3adb..05545e37d8a702112ec49e8ce14d62e91f9dae25 100644 (file)
@@ -534,10 +534,6 @@ mips_fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
               mips_fbsd_ilp32_fetch_link_map_offsets :
               mips_fbsd_lp64_fetch_link_map_offsets));
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_mips_fbsd_tdep (void);
 
 void
 _initialize_mips_fbsd_tdep (void)
index 1fd33653319d2dcad39d82f438ddfe34d7c96409..a86963d48526765dde34211a64e0a04bdc564ce3 100644 (file)
@@ -756,8 +756,6 @@ mips_linux_close (struct target_ops *self)
     super_close (self);
 }
 
-void _initialize_mips_linux_nat (void);
-
 void
 _initialize_mips_linux_nat (void)
 {
index 001fd40027b77f5322d69205be0f0fed600486e4..20d90016940ec61b1ff074f05c8e106896c81559 100644 (file)
@@ -1727,9 +1727,6 @@ mips_linux_init_abi (struct gdbarch_info info,
     }
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_mips_linux_tdep;
-
 void
 _initialize_mips_linux_tdep (void)
 {
index 41e67b7ff51615b2e11dd4dadd353ba4844493c4..c6e9828db33ac825636d92013399320458b4592e 100644 (file)
@@ -106,10 +106,6 @@ mipsnbsd_store_inferior_registers (struct target_ops *ops,
        perror_with_name (_("Couldn't write floating point status"));
     }
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_mipsnbsd_nat (void);
 
 void
 _initialize_mipsnbsd_nat (void)
index 352346b10c488ae91920b77c3a2fb5bf19e6464b..222ba54a4f28be4f4ed6a36b0a09a29800177d4a 100644 (file)
@@ -372,10 +372,6 @@ mipsnbsd_init_abi (struct gdbarch_info info,
               mipsnbsd_ilp32_fetch_link_map_offsets :
               mipsnbsd_lp64_fetch_link_map_offsets));
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_mipsnbsd_tdep;
 
 void
 _initialize_mipsnbsd_tdep (void)
index 286ff1b7943b21b1f1e7e99a79409b247b8d3e8e..e1334255c926b2004fa91cf40483f5c76af62bb1 100644 (file)
@@ -256,9 +256,6 @@ mips_sde_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   frame_base_append_sniffer (gdbarch, mips_sde_frame_base_sniffer);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_mips_sde_tdep;
-
 void
 _initialize_mips_sde_tdep (void)
 {
index 75e45ef0841478d2c4e06440707fdbcf08c7b044..9cde2f4d634b814cdf42fa821c8a7681219452cf 100644 (file)
@@ -8984,8 +8984,6 @@ mips_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file)
                      mips_fpu_type_str (MIPS_FPU_TYPE (gdbarch)));
 }
 
-extern initialize_file_ftype _initialize_mips_tdep; /* -Wmissing-prototypes */
-
 void
 _initialize_mips_tdep (void)
 {
index d32af80da09c11b234806a334f6f3a79b0c8919b..2e16cb36640e4806e79d701dde9d40c050ccce4d 100644 (file)
@@ -108,10 +108,6 @@ mips64obsd_store_inferior_registers (struct target_ops *ops,
   if (ptrace (PT_SETREGS, pid, (PTRACE_TYPE_ARG3) &regs, 0) == -1)
     perror_with_name (_("Couldn't write registers"));
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_mips64obsd_nat (void);
 
 void
 _initialize_mips64obsd_nat (void)
index 487a8e50dc53c794c13325954cb13e839c32f9ed..2d34db88cbaa7c6313d32b492910b9a731b713a1 100644 (file)
@@ -158,10 +158,6 @@ mips64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
     (gdbarch, svr4_lp64_fetch_link_map_offsets);
 }
 
-\f
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_mips64obsd_tdep (void);
-
 void
 _initialize_mips64obsd_tdep (void)
 {
index f2afe99ebec598c1ef17ca92bb314b1c5a59a07b..1a28a8e01b8b4d6795ae4c893bed1de816d8df83 100644 (file)
@@ -413,9 +413,6 @@ static const struct sym_fns ecoff_sym_fns =
   &psym_functions
 };
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_mipsread (void);
-
 void
 _initialize_mipsread (void)
 {
index 44707e8e241d0fddfb4f1e24821941bf6679b9a3..1ffcfca1031758325974b0dc38b2932d1658e51a 100644 (file)
@@ -718,9 +718,6 @@ am33_linux_init_osabi (struct gdbarch_info info, struct gdbarch *gdbarch)
   tramp_frame_prepend_unwinder (gdbarch, &am33_linux_rt_sigframe);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_mn10300_linux_tdep;
-
 void
 _initialize_mn10300_linux_tdep (void)
 {
index 669bfa1bce5cdeb4d4b9a357f4e5e520ce5de730..7b21e4f6dc95e0d76622cc363609a4da697d88a7 100644 (file)
@@ -1476,9 +1476,6 @@ mn10300_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file)
                      tdep->am33_mode);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_mn10300_tdep;
-
 void
 _initialize_mn10300_tdep (void)
 {
index 4cd3bcd18f35c7dd60d182a4ec7075119faf98f3..81b19764135b7fa3fcd3441281ed18004976085b 100644 (file)
 #include "moxie-tdep.h"
 #include <algorithm>
 
-/* Local functions.  */
-
-extern void _initialize_moxie_tdep (void);
-
 /* Use an invalid address value as 'not available' marker.  */
 enum { REG_UNAVAIL = (CORE_ADDR) -1 };
 
index 7debe250a3262993b50beb4a2555f5fec3445e47..d74be1dcdf0490fb77668fefae8483a6f1ae6895 100644 (file)
@@ -1021,9 +1021,6 @@ msp430_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_msp430_tdep;
-
 /* Register the initialization routine.  */
 
 void
index 2ab6c02c07d83e98eb7d15435d3fef1466f99bc7..e3ea322bacbca6aa42d06eb5f7e45c49ae807bf5 100644 (file)
@@ -1214,9 +1214,6 @@ mt_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_mt_tdep;
-
 void
 _initialize_mt_tdep (void)
 {
index 7725248aaa4fdb4cf1ffbdae70262aed39617a34..962b2e76f0b8bbb17baf2ad13aa5de581588789f 100644 (file)
@@ -55,8 +55,6 @@
 #define N32_FLDI_SP \
        N32_TYPE2 (LDC, 0, REG_SP, 0)
 
-extern void _initialize_nds32_tdep (void);
-
 /* Use an invalid address value as 'not available' marker.  */
 enum { REG_UNAVAIL = (CORE_ADDR) -1 };
 
index d3a9e2e51a6af0ccf56ff2747bec4d7679647524..8cada5472a12973b9b6d0690307e1925c70a995e 100644 (file)
@@ -238,10 +238,6 @@ nios2_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   tdep->jb_pc = 10;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-
-extern initialize_file_ftype _initialize_nios2_linux_tdep;
-
 void
 _initialize_nios2_linux_tdep (void)
 {
index 905d8591b7394f553cd4b842b39ab9f4ad16db67..4ad49aef058d2e05d210800a184d0daaae1b65fd 100644 (file)
@@ -2354,8 +2354,6 @@ nios2_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-extern initialize_file_ftype _initialize_nios2_tdep; /* -Wmissing-prototypes */
-
 void
 _initialize_nios2_tdep (void)
 {
index 7fb7095745fda2d15a32ce5e424018a357fa6fa7..a6fe390b02995a43e31ee90e482cd33c3ae40b9b 100644 (file)
@@ -1533,8 +1533,6 @@ init_procfs_targets (void)
 
 #define OSTYPE_NTO 1
 
-extern initialize_file_ftype _initialize_procfs;
-
 void
 _initialize_procfs (void)
 {
index 0b53c4b9feb23c0db45485c12af51f711ff51228..27bd19124a3021149fbde4dbede847f5776b131d 100644 (file)
@@ -533,9 +533,6 @@ nto_inferior_data (struct inferior *const inferior)
   return inf_data;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_nto_tdep;
-
 void
 _initialize_nto_tdep (void)
 {
index 624310e3b0119b530a7a60e63e1453b997b802fd..dc9c9346f1cc43f9eb356d963fc293df27267cfb 100644 (file)
@@ -1373,9 +1373,6 @@ find_objc_msgcall (CORE_ADDR pc, CORE_ADDR *new_pc)
   return 0;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_objc_language;
-
 void
 _initialize_objc_language (void)
 {
@@ -1616,9 +1613,6 @@ resolve_msgsend_super_stret (CORE_ADDR pc, CORE_ADDR *new_pc)
   return 0;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_objc_lang;
-
 void
 _initialize_objc_lang (void)
 {
index 96634b3f0521052a32d4c17d4a3e545c0473b44a..e743834df19149048acc4c2b01827f900bfcb8d4 100644 (file)
@@ -1630,9 +1630,6 @@ objfile_flavour_name (struct objfile *objfile)
   return NULL;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_objfiles;
-
 void
 _initialize_objfiles (void)
 {
index 634c29e5fb0b671c8e6be04e1b4f905cb1261197..c461cda288d67ea51c3c7ae3f9deaabeeb0f5dc8 100644 (file)
@@ -181,11 +181,6 @@ int observer_test_first_observer = 0;
 int observer_test_second_observer = 0;
 int observer_test_third_observer = 0;
 
-/* Provide prototypes to silence -Wmissing-prototypes.  */
-extern void observer_test_first_notification_function (int arg);
-extern void observer_test_second_notification_function (int arg);
-extern void observer_test_third_notification_function (int arg);
-
 void
 observer_test_first_notification_function (int arg)
 {
@@ -204,8 +199,6 @@ observer_test_third_notification_function (int arg)
   observer_test_third_observer++;
 }
 
-extern initialize_file_ftype _initialize_observer; /* -Wmissing-prototypes */
-
 void
 _initialize_observer (void)
 {
index 9b0f015752a4af9e4065a56e01cc43699a367e52..a9c9a3460ee2f43ad733de565aca09850e03db1b 100644 (file)
@@ -27,8 +27,6 @@
 #include "varobj.h"
 #include "c-lang.h"
 
-extern void _initialize_opencl_language (void);
-
 /* This macro generates enum values from a given type.  */
 
 #define OCL_P_TYPE(TYPE)\
@@ -1178,9 +1176,6 @@ build_opencl_types (struct gdbarch *gdbarch)
   return types;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_opencl_language;
-
 void
 _initialize_opencl_language (void)
 {
index 84fa9c02739ab7bc26a4f68ae3b5607d54030f4f..b4850bc9ad7a9afcaa0417280542f5c661a9bfba 100644 (file)
@@ -653,8 +653,6 @@ show_osabi (struct ui_file *file, int from_tty, struct cmd_list_element *c,
     fprintf_filtered (file, _("The default OS ABI is \"%s\".\n"),
                      gdbarch_osabi_name (GDB_OSABI_DEFAULT));
 }
-\f
-extern initialize_file_ftype _initialize_gdb_osabi; /* -Wmissing-prototype */
 
 void
 _initialize_gdb_osabi (void)
index 5458e2fc3b9d424a99db3be4293afbb8f3122926..9da3d07cdb3098d42cf2cbb87f22f7ccdd0edc89 100644 (file)
@@ -414,8 +414,6 @@ info_osdata_command (char *arg, int from_tty)
   info_osdata (arg);
 }
 
-extern initialize_file_ftype _initialize_osdata; /* -Wmissing-prototypes */
-
 void
 _initialize_osdata (void)
 {
index 2c802336e326bc43e1609c332c13b84a3f79f060..1cd69cc2b111ec83cbd5c2e774d55c06f0c173c2 100644 (file)
@@ -891,9 +891,6 @@ pascal_object_print_static_field (struct value *val,
   common_val_print (val, stream, recurse, &opts, current_language);
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_pascal_valprint;
-
 void
 _initialize_pascal_valprint (void)
 {
index fb0dff2443bcbbefa88d51e95bd7cd6d65e3b024..6bbf25f69900e774289cf4ed0df64a4a66dfbc56 100644 (file)
@@ -121,8 +121,6 @@ static expression_up parse_exp_in_context_1 (const char **, CORE_ADDR,
                                             const struct block *, int,
                                             int, int *);
 
-void _initialize_parse (void);
-
 /* Data structure for saving values of arglist_len for function calls whose
    arguments contain other function calls.  */
 
index ae5877af9f8a7e0e46fb02a4c8cba0550b4f88bb..df8de147100b6ce141c1082f5bb37e7b247d5ce5 100644 (file)
@@ -195,10 +195,6 @@ ppcfbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
   return 1;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-
-void _initialize_ppcfbsd_nat (void);
-
 void
 _initialize_ppcfbsd_nat (void)
 {
index 18be8cd3b076b1c24320bbd1ee7a204e4a0baf8e..05365cb8b8a30d376f6cc59a476b10901924a128 100644 (file)
@@ -336,10 +336,6 @@ ppcfbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
                                             svr4_fetch_objfile_link_map);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-
-void _initialize_ppcfbsd_tdep (void);
-
 void
 _initialize_ppcfbsd_tdep (void)
 {
index 40ea5893664bb717cdad749c7ecdd99412d60ca6..45c8903ef68d219765d6450ae1b783fe5473a14b 100644 (file)
@@ -2473,8 +2473,6 @@ ppc_linux_read_description (struct target_ops *ops)
   return isa205? tdesc_powerpc_isa205_32l : tdesc_powerpc_32l;
 }
 
-void _initialize_ppc_linux_nat (void);
-
 void
 _initialize_ppc_linux_nat (void)
 {
index 324b29d90c1266a73f172da20a6015174189625f..b6e536273a22e86d55b6f44b1a2be62106359ae6 100644 (file)
@@ -1833,9 +1833,6 @@ ppc_linux_init_abi (struct gdbarch_info info,
   ppc_init_linux_record_tdep (&ppc64_linux_record_tdep, 8);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_ppc_linux_tdep;
-
 void
 _initialize_ppc_linux_tdep (void)
 {
index b170583f2a44696126d40232b42fdf6028abdfef..98a8a7c4885ad4479440ff30fdb2ba438228dcfe 100644 (file)
@@ -174,9 +174,6 @@ ppcnbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
   return 1;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_ppcnbsd_nat (void);
-
 void
 _initialize_ppcnbsd_nat (void)
 {
index 2c03f97d65be1428599c7b8df3c61f7f1ee16af9..f2840da51115130505a601812e5cf2103b3aa75d 100644 (file)
@@ -187,10 +187,6 @@ ppcnbsd_init_abi (struct gdbarch_info info,
   tramp_frame_prepend_unwinder (gdbarch, &ppcnbsd_sigtramp);
   tramp_frame_prepend_unwinder (gdbarch, &ppcnbsd2_sigtramp);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_ppcnbsd_tdep (void);
 
 void
 _initialize_ppcnbsd_tdep (void)
index 20360f53c3b51fa033f1259c34dab5de6464d55e..60f6a4f2349ea058abeb7a329783b14b2ab9949e 100644 (file)
@@ -180,10 +180,6 @@ ppcobsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
 
   return 1;
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_ppcobsd_nat (void);
 
 void
 _initialize_ppcobsd_nat (void)
index 7188ce1e2ab6738a99e2588c902dd89bfec4fbff..821a4baaf102106a7ee8387531e76236ac5d34d6 100644 (file)
@@ -260,10 +260,6 @@ ppcobsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 
   frame_unwind_append_unwinder (gdbarch, &ppcobsd_sigtramp_frame_unwind);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_ppcobsd_tdep (void);
 
 void
 _initialize_ppcobsd_tdep (void)
index 6206d8d18f94cea6762de9f4d4800d017a4b8403..a7d5762bf98b771b790c73e939cc53b72c2b18ae 100644 (file)
@@ -158,10 +158,6 @@ static int display_number;
        B ? (TMP = B->next, 1): 0;              \
        B = TMP)
 
-/* Prototypes for exported functions.  */
-
-void _initialize_printcmd (void);
-
 /* Prototypes for local functions.  */
 
 static void do_one_display (struct display *);
index ce2836193b7e51f55e97def68df32dc3f4ef9bb6..8a0689db2c427f2d191c70518bd61559a61306bd 100644 (file)
@@ -1025,8 +1025,6 @@ static const struct internalvar_funcs probe_funcs =
 
 VEC (probe_ops_cp) *all_probe_ops;
 
-void _initialize_probe (void);
-
 void
 _initialize_probe (void)
 {
index dd9af0d7238c5377a9f0d094100eae73a18910f6..2198b2678e5c2c91846058ff5241442a1a2e8e85 100644 (file)
@@ -768,10 +768,6 @@ proc_prettyfprint_status (long flags, int why, int what, int thread)
     }
 }
 
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern void _initialize_proc_api (void);
-
 void
 _initialize_proc_api (void)
 {
index 961d6261136406660aee0740363071aea55aae90..9d3233e611e352a41c9eb19685ec55550bebfec3 100644 (file)
@@ -1716,10 +1716,6 @@ void
 proc_prettyprint_actionset (struct sigaction *actions, int verbose)
 {
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_proc_events (void);
 
 void
 _initialize_proc_events (void)
index 1e5433c6ba2375334eb1564d874fde46e9ff674d..4620fea21a2a1d7e2bfc0b58f67baf160601e084 100644 (file)
@@ -219,9 +219,6 @@ ps_getpid (gdb_ps_prochandle_t ph)
   return ptid_get_pid (ph->ptid);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_proc_service;
-
 void
 _initialize_proc_service (void)
 {
index 504d74c05fba3c648cff9e3256621d8e2986d871..734430411ee2017cb5ec171ac9242c5b8a03604d 100644 (file)
@@ -5266,10 +5266,6 @@ proc_untrace_sysexit_cmd (char *args, int from_tty)
   proc_trace_syscalls (args, from_tty, PR_SYSEXIT, FLAG_RESET);
 }
 
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern void _initialize_procfs (void);
-
 void
 _initialize_procfs (void)
 {
index 4cbf91c60c214cffb0da23ca82d508fb2d4cd366..ea300fe86ef61b3929de9a9285a7c5df8ac006d5 100644 (file)
@@ -2245,10 +2245,6 @@ maintenance_check_psymtabs (char *ignore, int from_tty)
   }
 }
 
-\f
-
-extern initialize_file_ftype _initialize_psymtab;
-
 void
 _initialize_psymtab (void)
 {
index f40fe89a31b61b07dabe0099456946e5772abb0e..b086cef2510f83f92ebecce5c45da30a3dcb0ae6 100644 (file)
@@ -1472,12 +1472,6 @@ finalize_python (void *ignore)
 
   restore_active_ext_lang (previous_active);
 }
-#endif
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_python;
-
-#ifdef HAVE_PYTHON
 
 static bool
 do_start_initialization ()
index 1f89ea23a9dec80686813ec19d508ab844450878..1f93e3df0eb4c38bae9ca7f4ec2c4d6622cbb986 100644 (file)
@@ -421,9 +421,6 @@ Support for Ravenscar task/thread switching is enabled\n"));
 Support for Ravenscar task/thread switching is disabled\n"));
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern void _initialize_ravenscar (void);
-
 /* Module startup initialization function, automagically called by
    init.c.  */
 
index 220b33ca2e7df06780ced3f3b7f73c915987ec03..783e5a17aaba4f3f7e44cf8530166f44128abffb 100644 (file)
@@ -3042,8 +3042,6 @@ show_record_pt_buffer_size_value (struct ui_file *file, int from_tty,
                    value);
 }
 
-void _initialize_record_btrace (void);
-
 /* Initialize btrace commands.  */
 
 void
index 7f6ecc71530bca618d35f82f874b987aabd2ec93..d3cf78906abb6f46c326866406c62e2dc3763769 100644 (file)
@@ -2816,9 +2816,6 @@ show_record_full_command (char *args, int from_tty)
   cmd_show_list (show_record_full_cmdlist, from_tty, "");
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_record_full;
-
 void
 _initialize_record_full (void)
 {
index 9ee3560155a8457f8f68fe5acee23dc2f494df40..7eef827640052cbd62445b0aa9d5b16434294860 100644 (file)
@@ -773,9 +773,6 @@ set_record_call_history_size (char *args, int from_tty,
                         &record_call_history_size);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_record;
-
 void
 _initialize_record (void)
 {
index dcbcedd7a3b545f99820221533c4fc2cd3697b9e..63d70d7c81531f9e4488ccbf85ef45c9132e63dd 100644 (file)
@@ -1736,8 +1736,6 @@ current_regcache_test (void)
 } // namespace selftests
 #endif /* GDB_SELF_TEST */
 
-extern initialize_file_ftype _initialize_regcache; /* -Wmissing-prototype */
-
 void
 _initialize_regcache (void)
 {
index ae7d4ceeb722c29547fbcfe13d2e5a51a68b4030..512fe11b11465828d551e8febce2f4bd2cb01090 100644 (file)
@@ -295,8 +295,6 @@ struct reggroup *const all_reggroup = &all_group;
 struct reggroup *const save_reggroup = &save_group;
 struct reggroup *const restore_reggroup = &restore_group;
 
-extern initialize_file_ftype _initialize_reggroup; /* -Wmissing-prototypes */
-
 void
 _initialize_reggroup (void)
 {
index b5acc4676a3f8fd0091bfedcc0c9c7c64d2823b7..3952161373854697854c3d6b103060e4c5bf13a5 100644 (file)
@@ -270,9 +270,6 @@ remote_notif_state_xfree (struct remote_notif_state *state)
   xfree (state);
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_notif;
-
 void
 _initialize_notif (void)
 {
index ca824d7985b76e08152b7fa35c262e31244ddc40..48fa503cf46939714a0faa1d11fdf3deeef3f70f 100644 (file)
@@ -44,8 +44,6 @@
 
 /* Prototypes */
 
-extern void _initialize_remote_sim (void);
-
 static void init_callbacks (void);
 
 static void end_callbacks (void);
index abeef0d9fd025359869e401da198df6dfb4c3d69..0963693a22567567c0c7e697b2966abc7d19a1ae 100644 (file)
@@ -209,8 +209,6 @@ static void remote_query_supported (void);
 
 static void remote_check_symbols (void);
 
-void _initialize_remote (void);
-
 struct stop_reply;
 static void stop_reply_xfree (struct stop_reply *);
 static void remote_parse_stop_reply (char *, struct stop_reply *);
index c3c20fb28277b52438f1587841d1e86773777bfb..80e414ab763f5797bd0a8aabe01186b67ffec3a9 100644 (file)
@@ -322,10 +322,6 @@ info_bookmarks_command (char *args, int from_tty)
     }
 }
 
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_reverse;
-
 void
 _initialize_reverse (void)
 {
index 5775f96d3101ffbafaccba8c9d2c43bfdad5e1c9..56abe28f5e1cae67c9aa1465ec9d97e6c11a6e17 100644 (file)
@@ -1491,9 +1491,6 @@ rl78_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_rl78_tdep;
-
 /* Register the above initialization routine.  */
 
 void
index e9b3f10686bf178c26c6bda6ba6e7d0385923808..f4f3eb7c3ad2fa0043d13508fe6c28aebe19b667 100644 (file)
@@ -1089,9 +1089,6 @@ rs6000_aix_init_osabi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_solib_ops (gdbarch, &solib_aix_so_ops);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_rs6000_aix_tdep;
-
 void
 _initialize_rs6000_aix_tdep (void)
 {
index d72a61958e3ffc19e6f39ef5d30427ace2877edc..18f1802e58fbd7733bf7eeeb87ca6ef9a1512e92 100644 (file)
@@ -411,9 +411,6 @@ rs6000_lynx178_init_osabi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT);
 }
 
-/* -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_rs6000_lynx178_tdep;
-
 void
 _initialize_rs6000_lynx178_tdep (void)
 {
index 833cf01619593f1f737405b53ea5fb05b8b15b89..af9273ae752cdb2cec433181d8ce48a7f1dc898e 100644 (file)
@@ -655,8 +655,6 @@ rs6000_xfer_shared_libraries
     }
 }
 
-void _initialize_rs6000_nat (void);
-
 void
 _initialize_rs6000_nat (void)
 {
index 59d689635112372eabcc9905212e81f31e95a624..95b2ca71c9489673a934bab51cee7d3ca22e62f3 100644 (file)
@@ -6751,9 +6751,6 @@ ppc_insn_ds_field (unsigned int insn)
 
 /* Initialization code.  */
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_rs6000_tdep;
-
 void
 _initialize_rs6000_tdep (void)
 {
index 4cb3aa28a8b77a14cd38e91902360f46f363f74c..5d999942111eed2b1ef5d32c23c9f283c05b3620 100644 (file)
@@ -39,8 +39,6 @@
 
 #define RUSTSTYPE YYSTYPE
 
-extern initialize_file_ftype _initialize_rust_exp;
-
 struct rust_op;
 typedef std::vector<const struct rust_op *> rust_op_vector;
 
index cfd185644a0d365e4d4d564754ca30939fdef960..d1bc0b24276fac17820ded5bb222bfaca5bb29f0 100644 (file)
@@ -1165,9 +1165,6 @@ rx_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_rx_tdep;
-
 /* Register the above initialization routine.  */
 
 void
index 90c73c44cd8f83f809a72106179b2931caf3aee5..b395529f2a57cb01d22d0e096551038f6b2138cc 100644 (file)
@@ -1002,8 +1002,6 @@ s390_read_description (struct target_ops *ops)
          tdesc_s390_linux32);
 }
 
-void _initialize_s390_nat (void);
-
 void
 _initialize_s390_nat (void)
 {
index 5682c4a572882ff6aa7af55848980d846fb3e9a7..a6882fbbf4b4a0e7086b6a0ab0528d3f9041305c 100644 (file)
@@ -8141,9 +8141,6 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-
-extern initialize_file_ftype _initialize_s390_tdep; /* -Wmissing-prototypes */
-
 void
 _initialize_s390_tdep (void)
 {
index d231674196c1252d3416e6b7ce3dfc6807a25e4f..5b68a2b33208c17d935283b0c4c0d6982c4b682e 100644 (file)
@@ -1531,8 +1531,6 @@ score_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-extern initialize_file_ftype _initialize_score_tdep;
-
 void
 _initialize_score_tdep (void)
 {
index 9a19f7688e3afe6fa3604c550ecc2794a1b5737d..522b1daf4f425d44997cb4a7dc3dc6b7ac101a33 100644 (file)
@@ -100,9 +100,6 @@ tests_with_arch ()
 } // namespace selftests
 #endif /* GDB_SELF_TEST */
 
-/* Suppress warning from -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_selftests_foreach_arch;
-
 void
 _initialize_selftests_foreach_arch ()
 {
index 41503aca6f759be8014175372afd9b58abbc8f65..e3528951b4be03232f0aa02efba8a43898c7bf2f 100644 (file)
@@ -927,9 +927,6 @@ info_serial_command (char *arg, int from_tty)
 #endif
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_ser_dos;
-
 void
 _initialize_ser_dos (void)
 {
index 0b78ba18e0fafc29c71db997f125eeccb040242e..33e4df3b219703723f725a4a6291c15f53395023 100644 (file)
@@ -31,8 +31,6 @@
 
 #include "command.h"
 
-void _initialize_ser_windows (void);
-
 struct ser_windows_state
 {
   int in_progress;
index ae989a08dd1c79898240c1cdefb9f036275b21a6..cb94242745a5af48edabce5633440d19160c9403 100644 (file)
@@ -36,8 +36,6 @@
 static int pipe_open (struct serial *scb, const char *name);
 static void pipe_close (struct serial *scb);
 
-extern void _initialize_ser_pipe (void);
-
 struct pipe_state
   {
     int pid;
index 57a7c5507f5d6044300be3e7977569a4b393440a..f35991c851185b52dd34983726c2f5bf7f94164b 100644 (file)
@@ -60,8 +60,6 @@
 typedef int socklen_t;
 #endif
 
-void _initialize_ser_tcp (void);
-
 /* For "set tcp" and "show tcp".  */
 
 static struct cmd_list_element *tcp_set_cmdlist;
index 54b0b75c174bb2085b0aff00619ed55fd03c4f08..53c33e663f0864d9ddfa4b209760448aaa6d7659 100644 (file)
@@ -99,8 +99,6 @@ static int hardwire_flush_input (struct serial *);
 static int hardwire_send_break (struct serial *);
 static int hardwire_setstopbits (struct serial *, int);
 
-void _initialize_ser_hardwire (void);
-
 /* Open up a real live device for serial I/O.  */
 
 static int
index b48b9779ed2204a6666d5c77262b3b81c59af389..01294d1ebd5303db6189c2be9bb4e5d81f771c4e 100644 (file)
@@ -23,8 +23,6 @@
 #include "gdbcmd.h"
 #include "cli/cli-utils.h"
 
-extern void _initialize_serial (void);
-
 /* Is serial being debugged?  */
 
 static unsigned int global_serial_debug_p;
index c5c745d21882358f31913d128b075e7f1816dbfb..b70f996c2cd1022df695723c520189afff368628 100644 (file)
@@ -212,9 +212,6 @@ sh_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
     }
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern void _initialize_sh_linux_tdep (void);
-
 void
 _initialize_sh_linux_tdep (void)
 {
index ac93dcd59c991a6f90467cb3163677bbf3456c6b..7cf7a9910eccb7f82f5bc6b4c343c77f891232b5 100644 (file)
@@ -91,9 +91,6 @@ shnbsd_store_inferior_registers (struct target_ops *ops,
     }
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_shnbsd_nat (void);
-
 void
 _initialize_shnbsd_nat (void)
 {
index 6fe776335b0b94ce4c32191e5f1c2d448d53b9d9..4a335de02d096b7165d37e1c5df28fab4fc10da2 100644 (file)
@@ -69,10 +69,6 @@ shnbsd_init_abi (struct gdbarch_info info,
   set_solib_svr4_fetch_link_map_offsets
     (gdbarch, svr4_ilp32_fetch_link_map_offsets);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_shnbsd_tdep;
 
 void
 _initialize_shnbsd_tdep (void)
index a87547d4ceda1b6db4157d181ae1b982444a867c..a413daae12db39900067f2b977355b45a9c9c803 100644 (file)
@@ -2444,8 +2444,6 @@ set_sh_command (char *args, int from_tty)
   help_list (setshcmdlist, "set sh ", all_commands, gdb_stdout);
 }
 
-extern initialize_file_ftype _initialize_sh_tdep;  /* -Wmissing-prototypes */
-
 void
 _initialize_sh_tdep (void)
 {
index bd9eec9d7c0477740688918a2577653995c0b4aa..8db0cd5d12e6f6d63ea5b3fa0a1443ebe8420a3a 100644 (file)
@@ -600,9 +600,6 @@ function_name_is_marked_for_skip (const char *function_name,
   return false;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_step_skip;
-
 void
 _initialize_step_skip (void)
 {
index c4d4b02c7c70d72328b6ef9ddab18e44720a39fa..d493f7b8d509aef2ba79427ce0a6cbeb5e6a2c42 100644 (file)
@@ -1214,9 +1214,6 @@ init_sol_thread_ops (void)
   sol_thread_ops.to_magic = OPS_MAGIC;
 }
 
-/* Silence -Wmissing-prototypes.  */
-extern void _initialize_sol_thread (void);
-
 void
 _initialize_sol_thread (void)
 {
index d0f5e96119fa1820f4b05ae27647aa96dfabed65..633c9e6aaf3ba9114c038f42bcf56b66185ea650 100644 (file)
@@ -775,9 +775,6 @@ show_solib_aix_debug (struct ui_file *file, int from_tty,
 /* The target_so_ops for AIX targets.  */
 struct target_so_ops solib_aix_so_ops;
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_solib_aix;
-
 void
 _initialize_solib_aix (void)
 {
index c2b776d3203faa63a03001cc7b3b6793194c63f7..04bbf86cf105d83a1fdb04186e63f61032ab911a 100644 (file)
@@ -648,9 +648,6 @@ darwin_bfd_open (char *pathname)
 
 struct target_so_ops darwin_so_ops;
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_darwin_solib;
-
 void
 _initialize_darwin_solib (void)
 {
index facbd93361b205e8d19f94e4c197bf099b22aaae..86b9e30864c24d108f5506d8c079bc5aea73f4be 100644 (file)
@@ -1054,9 +1054,6 @@ show_dsbt_debug (struct ui_file *file, int from_tty,
 
 struct target_so_ops dsbt_so_ops;
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_dsbt_solib;
-
 void
 _initialize_dsbt_solib (void)
 {
index f0265e3f25b0d50cdbd67a78bd98572bd2d9cd17..6d74652ea9d1748bc2f0192a15c605c70702d65d 100644 (file)
@@ -1153,9 +1153,6 @@ frv_fetch_objfile_link_map (struct objfile *objfile)
 
 struct target_so_ops frv_so_ops;
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_frv_solib;
-
 void
 _initialize_frv_solib (void)
 {
index e6eab63854e455180804f286159e3eea856b3767..886322d9bc3ea50d047cf981f261698658493450 100644 (file)
@@ -542,9 +542,6 @@ spu_solib_loaded (struct so_list *so)
     }
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_spu_solib;
-
 void
 _initialize_spu_solib (void)
 {
index f99e2e2bf6d45406fb65d6755f0f4919e297197e..405de37aa5115cafa1b6dcfe4b9c9e390d2f5271 100644 (file)
@@ -3293,8 +3293,6 @@ elf_lookup_lib_symbol (struct objfile *objfile,
   return lookup_global_symbol_from_objfile (objfile, name, domain);
 }
 
-extern initialize_file_ftype _initialize_svr4_solib; /* -Wmissing-prototypes */
-
 void
 _initialize_svr4_solib (void)
 {
index 71a0da322c79b74412adcc4b456f057128d64f48..dcd0f85d34e2806b8ce39d0f386986b1b1c00a63 100644 (file)
@@ -470,9 +470,6 @@ solib_target_in_dynsym_resolve_code (CORE_ADDR pc)
 
 struct target_so_ops solib_target_so_ops;
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_solib_target;
-
 void
 _initialize_solib_target (void)
 {
index c8fe4d2cc701ad8764dd5df18f582f8d3bd7b2d0..0684297842adde10ad7301d76e35984fe3dc2bf2 100644 (file)
@@ -1600,8 +1600,6 @@ remove_user_added_objfile (struct objfile *objfile)
     }
 }
 
-extern initialize_file_ftype _initialize_solib; /* -Wmissing-prototypes */
-
 void
 _initialize_solib (void)
 {
index bac404530c0607b65f9860541a968ee60e6107a1..0564c1581b488178c8c423e1a44040ed2d540162 100644 (file)
 #define OPEN_MODE (O_RDONLY | O_BINARY)
 #define FDOPEN_MODE FOPEN_RB
 
-/* Prototypes for exported functions.  */
-
-void _initialize_source (void);
-
 /* Prototypes for local functions.  */
 
 static int get_filename_and_charpos (struct symtab *, char **);
index bdaf8dcc259c5fe3b2ed5257ba43c1fc77016bd0..6fcef4811bba0560471e5769b3eef2af4e8e2bbb 100644 (file)
@@ -53,8 +53,6 @@ fill_fpregset (const struct regcache *regcache,
   sparc32_collect_fpregset (sparc_fpregmap, regcache, regnum, fpregs);
 }
 
-void _initialize_sparc_linux_nat (void);
-
 void
 _initialize_sparc_linux_nat (void)
 {
index 52cfeda24a9475a135001a27bdc801863b42e3d3..6ed717aa9fbcc9aac506f167a35ae021e37e647c 100644 (file)
@@ -465,9 +465,6 @@ sparc32_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
                                    sparc32_linux_gdb_signal_to_target);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern void _initialize_sparc_linux_tdep (void);
-
 void
 _initialize_sparc_linux_tdep (void)
 {
index b842f2b48279390c8e03e475b4be1b3607dfd68e..fe9dca33c3a7725c9f1a1c23bcf09e88ed2afda6 100644 (file)
@@ -338,10 +338,6 @@ sparc_target (void)
   return t;
 }
 
-\f
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparc_nat (void);
-
 void
 _initialize_sparc_nat (void)
 {
index af7f33f6710297f2d4f8d00998892e054527f809..69987cffc9df14006e4a22f0f979429fa0d32ad7 100644 (file)
@@ -54,10 +54,6 @@ sparc32nbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
 
   return 1;
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparcnbsd_nat (void);
 
 void
 _initialize_sparcnbsd_nat (void)
index f9e5befcdd3504d5467ac8bac8ad936bff5b8fe4..d6a06b102c4f64d0d9cee70223a30b301d6f9acf 100644 (file)
@@ -314,10 +314,6 @@ sparc32nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
     (gdbarch, svr4_ilp32_fetch_link_map_offsets);
 }
 
-\f
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparcnbsd_tdep (void);
-
 void
 _initialize_sparcnbsd_tdep (void)
 {
index b7d3d3cf47a143cf1e253ca85fcc3a2577f92c8b..fbe5aab795fdefa1ab6aa33d19f0ac5f2226d734 100644 (file)
@@ -246,10 +246,6 @@ sparc32obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   bsd_uthread_set_collect_uthread (gdbarch, sparc32obsd_collect_uthread);
 }
 
-\f
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparc32obsd_tdep (void);
-
 void
 _initialize_sparc32obsd_tdep (void)
 {
index 4c79688f4649d88222858992a4d70901145d893b..cf80dd99204905cbabc83a68d763699002f83d04 100644 (file)
@@ -98,9 +98,6 @@ fill_fpregset (const struct regcache *regcache,
   sparc_collect_fpregset (&sparc_sol2_fpregmap, regcache, regnum, fpregs);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_sparc_sol2_nat;
-
 void
 _initialize_sparc_sol2_nat (void)
 {
index d9f92d1d53b7fa2de2b50ca7db0ec274b97f718d..ed53ac33c42cc5de21e5a4150eb3c92989316e8b 100644 (file)
@@ -292,10 +292,6 @@ sparc32_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   /* How to print LWP PTIDs from core files.  */
   set_gdbarch_core_pid_to_str (gdbarch, sol2_core_pid_to_str);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparc_sol2_tdep (void);
 
 void
 _initialize_sparc_sol2_tdep (void)
index 1f08865f9aaf08a4b41a7d3cbf09f89702a47962..949c50104d83bbcf1a642d5cda22d2811a4064b4 100644 (file)
@@ -2253,10 +2253,6 @@ const struct sparc_fpregmap sparc32_bsd_fpregmap =
   0 * 4,                       /* %f0 */
   32 * 4,                      /* %fsr */
 };
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparc_tdep (void);
 
 void
 _initialize_sparc_tdep (void)
index d799a969439511cb2294a5ac3bd1b4dfe3fe99fd..8fc8b3187f7d256e696eab027e858815da662045 100644 (file)
@@ -58,10 +58,6 @@ sparc64fbsd_kvm_supply_pcb (struct regcache *regcache, struct pcb *pcb)
 
   return 1;
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparc64fbsd_nat (void);
 
 void
 _initialize_sparc64fbsd_nat (void)
index 29d2f959270978fcc96b840489c2590b94fe2635..031da5b3b963e135dae6b0be231ccade01f93ec5 100644 (file)
@@ -241,9 +241,6 @@ sparc64fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
     (gdbarch, svr4_lp64_fetch_link_map_offsets);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparc64fbsd_tdep (void);
-
 void
 _initialize_sparc64fbsd_tdep (void)
 {
index 282980a812fa893b969541593c7d4085f3484449..204a9097a9af01c7c008603359bd7c7af31e7744 100644 (file)
@@ -69,9 +69,6 @@ fill_fpregset (const struct regcache *regcache,
   sparc64_collect_fpregset (&sparc64_bsd_fpregmap, regcache, regnum, fpregs);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparc64_linux_nat (void);
-
 void
 _initialize_sparc64_linux_nat (void)
 {
index 2da978fbf80ced7a3593f292d690cf25935c1362..8c61072a3a1a10748e047960b3ced4009ed4cc31 100644 (file)
@@ -408,10 +408,6 @@ sparc64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_gdbarch_handle_segmentation_fault (gdbarch,
                                         sparc64_linux_handle_segmentation_fault);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern void _initialize_sparc64_linux_tdep (void);
 
 void
 _initialize_sparc64_linux_tdep (void)
index 444300f8234c290ae5772fbc9124b5604a186eb0..d7d5ae1e4166765206a135eedd79bc86ce4bdca1 100644 (file)
@@ -68,10 +68,6 @@ sparc64_fpregset_supplies_p (struct gdbarch *gdbarch, int regnum)
 
   return 0;
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparc64_nat (void);
 
 void
 _initialize_sparc64_nat (void)
index 9c7e8b1b9024250adc78798d15c5057675e0aed5..44e54f5444943f3c00ef8fb2ae738d13eb38a2b8 100644 (file)
@@ -167,10 +167,6 @@ sparc64nbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
   return 1;
 }
 
-\f
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparc64nbsd_nat (void);
-
 void
 _initialize_sparc64nbsd_nat (void)
 {
index 08ba64bf8fd70fe2498eabda37a24beb64cf95e6..0876539012ba98f4e2c35a9e1e079d038453b8cb 100644 (file)
@@ -267,10 +267,6 @@ sparc64nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_solib_svr4_fetch_link_map_offsets
     (gdbarch, svr4_lp64_fetch_link_map_offsets);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparc64nbsd_tdep (void);
 
 void
 _initialize_sparc64nbsd_tdep (void)
index a59fc69c37c168ad52a0ec9ea0ab0c95bbb17754..9af3e5e4ebf94d21fac57b7abf4abaf98b3153f4 100644 (file)
@@ -106,10 +106,6 @@ sparc64obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
   return 1;
 }
 
-\f
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparc64obsd_nat (void);
-
 void
 _initialize_sparc64obsd_nat (void)
 {
index 0da50b1dc76f05cb19e21d1980060a09f659bade..e86872ec12f4b4eff0ed6f1c1c444243071b02fd 100644 (file)
@@ -439,10 +439,6 @@ sparc64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   bsd_uthread_set_supply_uthread (gdbarch, sparc64obsd_supply_uthread);
   bsd_uthread_set_collect_uthread (gdbarch, sparc64obsd_collect_uthread);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparc64obsd_tdep (void);
 
 void
 _initialize_sparc64obsd_tdep (void)
index 5417df4ce14b168b242cf0e8f62508556d1ae387..1d768fa7d021398c0ad381a7340ca150bd209d3d 100644 (file)
@@ -242,10 +242,6 @@ sparc64_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   /* How to print LWP PTIDs from core files.  */
   set_gdbarch_core_pid_to_str (gdbarch, sol2_core_pid_to_str);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_sparc64_sol2_tdep (void);
 
 void
 _initialize_sparc64_sol2_tdep (void)
index 19552fc1feb9e9f7e5927b58f23f081972eee8e8..77f56208c75c5a19363683919f2b40412f7d4624 100644 (file)
@@ -634,9 +634,6 @@ spu_can_use_hw_breakpoint (struct target_ops *self,
   return 0;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_spu_nat;
-
 /* Initialize SPU native target.  */
 void 
 _initialize_spu_nat (void)
index 7682ca2980732b5e87285cd87ce9938be8a16468..ebca082d2e5c630d25bafcd2429f4c72197ddd65 100644 (file)
@@ -402,9 +402,6 @@ init_spu_ops (void)
   spu_ops.to_magic = OPS_MAGIC;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_spu_multiarch;
-
 void
 _initialize_spu_multiarch (void)
 {
index 59c51b2b86f240802b3a285eebc28fb342728346..2de9155938da742b36025e48f3b1210155cc8d62 100644 (file)
@@ -2780,9 +2780,6 @@ spu_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_spu_tdep;
-
 void
 _initialize_spu_tdep (void)
 {
index 8ba6bb5563258bcf0bd08b90ed3ea0647684ed0f..d9a4d5e1d7e3430672bfcf8b634ceb966a302ba7 100644 (file)
@@ -52,8 +52,6 @@
 #include "stabsread.h"         /* Our own declarations */
 #undef EXTERN
 
-extern void _initialize_stabsread (void);
-
 struct nextfield
 {
   struct nextfield *next;
index 8a066b2b69118899701a7bcbda0c6d0339a8ba6a..06d891d1673206faa53db22748ffcd9084fd1c11 100644 (file)
@@ -2564,10 +2564,6 @@ func_command (char *arg, int from_tty)
   else if (frame != get_selected_frame (NULL))
     select_and_print_frame (frame);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_stack (void);
 
 void
 _initialize_stack (void)
index 89c1ccc7cd2a9dd74356faa8d526bb6c5e351453..c0cc6623344cf42d820615cb9a02d37ad57aaa08 100644 (file)
@@ -1713,8 +1713,6 @@ info_probes_stap_command (char *arg, int from_tty)
   info_probes_for_ops (arg, from_tty, &stap_probe_ops);
 }
 
-void _initialize_stap_probe (void);
-
 void
 _initialize_stap_probe (void)
 {
index 73bafceb82f435ae8ae9c7c87b3aa7ae0b7416bd..ebcbb97e46fbf3f83279696a1a771b00b483e46b 100644 (file)
@@ -89,8 +89,6 @@ value_of_builtin_frame_ps_reg (struct frame_info *frame, const void *baton)
   error (_("Standard register ``$ps'' is not available for this target"));
 }
 
-extern initialize_file_ftype _initialize_frame_reg; /* -Wmissing-prototypes */
-
 void
 _initialize_frame_reg (void)
 {
index 5ca1fa73fff2d64755f89a09be7870caea9bcce7..e7890c943c9d9789164c6968e501e7df2fca9720 100644 (file)
@@ -673,8 +673,6 @@ show_debug_symfile (struct ui_file *file, int from_tty,
   fprintf_filtered (file, _("Symfile debugging is %s.\n"), value);
 }
 
-initialize_file_ftype _initialize_symfile_debug;
-
 void
 _initialize_symfile_debug (void)
 {
index acbaaaf562ff1c954d0262a8485c0a0b986ffc23..b3543d6a56fd6f07ff61cba513b09664008fe1c9 100644 (file)
@@ -236,11 +236,6 @@ add_vsyscall_page (struct target_ops *target, int from_tty)
     }
 }
 
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_symfile_mem;
-
 void
 _initialize_symfile_mem (void)
 {
index d600b613729699160922d3dbaf3e1bc42edbb4a6..96b7d6ffb4ffe28fa2aa2c47ab0952b6eddd1483 100644 (file)
@@ -116,8 +116,6 @@ static void info_ext_lang_command (char *args, int from_tty);
 
 static void symfile_find_segment_sections (struct objfile *objfile);
 
-void _initialize_symfile (void);
-
 /* List of all available sym_fns.  On gdb startup, each object file reader
    calls add_symtab_fns() to register information on each format it is
    prepared to read.  */
index c85f0b715c96b9056ecc741c761425713ebb2e81..6cbb2cea3f4ee1d34c25f6a581706cb44b428b9b 100644 (file)
@@ -54,8 +54,6 @@ FILE *std_err;
 
 static int block_depth (struct block *);
 
-void _initialize_symmisc (void);
-
 struct print_symbol_args
   {
     struct gdbarch *gdbarch;
index 84923153059dd06f82cd0149a187b721c259f5dd..b504cd626313385ca501cd8c6e0496062ae1f90b 100644 (file)
@@ -92,8 +92,6 @@ static struct block_symbol
 /* See symtab.h.  */
 const struct block_symbol null_block_symbol = { NULL, NULL };
 
-extern initialize_file_ftype _initialize_symtab;
-
 /* Program space key for finding name and language of "main".  */
 
 static const struct program_space_data *main_progspace_key;
index fe5e56a1a31428661f3c8f516c6549b64505c979..76024403aa6695ef7f61b068072be63f1c316640 100644 (file)
@@ -168,9 +168,6 @@ code_cache_enabled_p (void)
   return code_cache_enabled;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_target_dcache;
-
 void
 _initialize_target_dcache (void)
 {
index 2b3c1462f576cd3e11e439ee295ffd36abef588c..3735e6449b17006255dce19a7c01ec5ae9ddf8b3 100644 (file)
@@ -2389,9 +2389,6 @@ maintenance_check_xml_descriptions (char *dir, int from_tty)
                   (long) selftests::xml_tdesc.size (), failed);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_target_descriptions;
-
 void
 _initialize_target_descriptions (void)
 {
index 8a0ed0c44e6e88848a0a61047f4d49204e20dcaa..2185d505a3f6d2657cf85fc56410c573b51ab612 100644 (file)
 
 /* Definition of struct thread_info exported to gdbthread.h.  */
 
-/* Prototypes for exported functions.  */
-
-void _initialize_thread (void);
-
 /* Prototypes for local functions.  */
 
 struct thread_info *thread_list = NULL;
index 9bf490d89e48f953c741f88a3fd40d3498132ebf..1a03a29b81228b65591e646138efabcf69c7c848 100644 (file)
@@ -207,9 +207,6 @@ tic6x_uclinux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
                                &tic6x_linux_rt_sigreturn_tramp_frame);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_tic6x_linux_tdep;
-
 void
 _initialize_tic6x_linux_tdep (void)
 {
index 156a54f3afc30ebbcd64381c476f283b5bcee3b8..013a084a2f7ddd46ecdba9d655c8dbe74cc7e980 100644 (file)
@@ -1336,9 +1336,6 @@ tic6x_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_tic6x_tdep;
-
 void
 _initialize_tic6x_tdep (void)
 {
index 5cdf74daf2f5f2b2f082f8769e36d8dc52e6f4d1..c5c3a14352dac9792e33b1e4c4b1bac9fc5debae 100644 (file)
@@ -154,9 +154,6 @@ store_inferior_registers (struct target_ops *ops,
     perror_with_name (_("Couldn't write registers"));
 }
 
-
-extern initialize_file_ftype _initialize_tile_linux_nat;
-
 void
 _initialize_tile_linux_nat (void)
 {
index 5ae24c430669a12d031f8be85f3f9c3bbf475741..f687d48ef74cc28be36dd2435e99c6ce80035873 100644 (file)
@@ -134,9 +134,6 @@ tilegx_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_gdbarch_skip_solib_resolver (gdbarch, glibc_skip_solib_resolver);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_tilegx_linux_tdep;
-
 void
 _initialize_tilegx_linux_tdep (void)
 {
index 2db679066b110fe81f129ac36113b85e81f9fa34..b26622d05dbdaac5497b0889e711b721589e930b 100644 (file)
@@ -1063,9 +1063,6 @@ tilegx_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_tilegx_tdep;
-
 void
 _initialize_tilegx_tdep (void)
 {
index 37bd96a33b1c0b3e0063ed08e4866ec365974765..7288e7c261ec1c336b49b1d51c7061f667608d4e 100644 (file)
@@ -1132,8 +1132,6 @@ init_tfile_ops (void)
   tfile_ops.to_traceframe_info = tfile_traceframe_info;
 }
 
-extern initialize_file_ftype _initialize_tracefile_tfile;
-
 void
 _initialize_tracefile_tfile (void)
 {
index 8dde605b0e78ad8552a1456debb52110291e7eca..b6a800cf7d19a2adeb02809b6c8a8f7bc78f116a 100644 (file)
@@ -495,8 +495,6 @@ init_tracefile_ops (struct target_ops *ops)
   ops->to_magic = OPS_MAGIC;
 }
 
-extern initialize_file_ftype _initialize_tracefile;
-
 void
 _initialize_tracefile (void)
 {
index f8aa3297b3c1531d4c7b65bd926d968f04edd2b5..dbd850fa441c9e931e2bc1a48362626cd6209533 100644 (file)
@@ -185,8 +185,6 @@ static char *mem2hex (gdb_byte *, char *, int);
 static struct command_line *
   all_tracepoint_actions_and_cleanup (struct breakpoint *t);
 
-extern void _initialize_tracepoint (void);
-
 static struct trace_status trace_status;
 
 const char *stop_reason_names[] = {
index 315f5b27dc50aaed0fb564604abb3ea049e3ce2c..acb63812a4d4a7c82a990849f27a3ab7d788265b 100644 (file)
@@ -266,8 +266,6 @@ tui_remove_hooks (void)
   tui_register_changed_observer = NULL;
 }
 
-void _initialize_tui_hooks (void);
-
 void
 _initialize_tui_hooks (void)
 {
index 702c34269c0c0f84664260d38015609be47f35ae..e5e73210c716bd54c23196c7650e1a8766d3eb9c 100644 (file)
@@ -311,9 +311,6 @@ tui_interp_factory (const char *name)
   return new tui_interp (name);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_tui_interp;
-
 void
 _initialize_tui_interp (void)
 {
index 7ecfaec5efbea5c6864816f7a73055c4264e089d..eab1ab6336d9b1863b6d05f597cba3dc8946dcfb 100644 (file)
@@ -367,9 +367,6 @@ layout_completer (struct cmd_list_element *ignore,
 /* Function to initialize gdb commands, for tui window layout
    manipulation.  */
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_tui_layout;
-
 void
 _initialize_tui_layout (void)
 {
index 217fff295086bb1aeca21ebcc5190964d5220c26..838172e8233c5aacb7cbdc2d763b1793343575f0 100644 (file)
@@ -687,9 +687,6 @@ tui_reggroup_completer (struct cmd_list_element *ignore,
     }
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_tui_regs;
-
 void
 _initialize_tui_regs (void)
 {
index c075bef4e4d693861b0eb72ba681321125b9a807..ce7c5ee732411680e629c6cb0386edcbb4c58995 100644 (file)
@@ -487,9 +487,6 @@ tui_show_frame_info (struct frame_info *fi)
 /* Function to initialize gdb commands, for tui window stack
    manipulation.  */
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_tui_stack;
-
 void
 _initialize_tui_stack (void)
 {
index e0df667b291e9e988211eebd73ca3dd3ef69e4d9..cb8e475b727f5abfdbdcdc2bb3344a0768bb3ef6 100644 (file)
@@ -436,9 +436,6 @@ winheight_completer (struct cmd_list_element *ignore,
 /* Function to initialize gdb commands, for tui window
    manipulation.  */
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_tui_win;
-
 void
 _initialize_tui_win (void)
 {
index b77a885adb946266111b0de54e4680e05754a8a7..77dc86642f2bb2d40ed436da50ad65bd6a31e20e 100644 (file)
@@ -671,9 +671,6 @@ tui_get_command_dimension (unsigned int *width,
   return 1;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_tui;
-
 void
 _initialize_tui (void)
 {
index 0cc6821cf5a4a7f32e62d8033b67960170b68287..c82e623cfa9cf9c5f19bcac5a1c283ee64330774 100644 (file)
@@ -37,8 +37,6 @@
 #include "extension.h"
 #include "completer.h"
 
-extern void _initialize_typeprint (void);
-
 static void ptype_command (char *, int);
 
 static void whatis_command (char *, int);
index a19a12aab6079ef9569de6b76d4f281c5944a70c..121c69ffd73be1355ce9f053aebadb81e4b7eb86 100644 (file)
@@ -237,8 +237,6 @@ maintenance_print_user_registers (char *args, int from_tty)
     fprintf_unfiltered (gdb_stdout, " %-11s %3d\n", reg->name, regnum);
 }
 
-extern initialize_file_ftype _initialize_user_regs; /* -Wmissing-prototypes */
-
 void
 _initialize_user_regs (void)
 {
index f2da2df60f56c8f533e120f133408204350299df..583c1552c8351e64dff46df96daccec8809c22d6 100644 (file)
@@ -3278,9 +3278,6 @@ strip_leading_path_elements (const char *path, int n)
   return p;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_utils;
-
 void
 _initialize_utils (void)
 {
index 30cd35be8ab45728c6ce2ac8497eeff81cbd143c..46a74aadcbc571ebb0d6f3bee017a2c345594038 100644 (file)
@@ -1478,8 +1478,6 @@ v850_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
-extern initialize_file_ftype _initialize_v850_tdep; /* -Wmissing-prototypes */
-
 void
 _initialize_v850_tdep (void)
 {
index bcc5ff6c0a950c6cf3f0ee2b459dec5263efd07d..a277be42bc03f0dad0a3e52616196db276786e55 100644 (file)
@@ -36,9 +36,6 @@
 #define TRUNCATION_TOWARDS_ZERO ((-5 / 2) == -2)
 #endif
 
-void _initialize_valarith (void);
-\f
-
 /* Given a pointer, return the size of its target.
    If the pointer type is void *, then return 1.
    If the target type is incomplete, then error out.
index 19f96c8ddc5725ae77108f36883609723450addb..defc7d525a4bbc41f160d09f35866647d6633d2a 100644 (file)
@@ -101,8 +101,6 @@ static void find_method_list (struct value **, const char *,
                              VEC (xmethod_worker_ptr) **,
                              struct type **, LONGEST *);
 
-void _initialize_valops (void);
-
 #if 0
 /* Flag for whether we want to abandon failed expression evals by
    default.  */
index 5b02e2facea6f569b29b86b1cee8f7be8089ceda..d3094ca6f18353a42a5482b8ea4550c9ed2c4970 100644 (file)
@@ -104,8 +104,6 @@ static void val_print_type_code_flags (struct type *type,
                                       const gdb_byte *valaddr,
                                       struct ui_file *stream);
 
-void _initialize_valprint (void);
-
 #define PRINT_MAX_DEFAULT 200  /* Start print_max off at this value.  */
 
 struct value_print_options user_print_options =
index ec615b36630d7a7e79a05e1d262c27a3003d732c..1fd9cc9a7d01bcf08a9ec01e026c94d19a9e8643 100644 (file)
 #include <algorithm>
 #include "completer.h"
 
-/* Prototypes for exported functions.  */
-
-void _initialize_values (void);
-
 /* Definition of a user function.  */
 struct internal_function
 {
index 7bd549d45c59d64eea6a3670e9b20066b94b2a2b..f6691809f28461e29862cf978e081182275dc528 100644 (file)
@@ -2638,8 +2638,7 @@ varobj_invalidate (void)
 {
   all_root_varobjs (varobj_invalidate_iter, NULL);
 }
-\f
-extern void _initialize_varobj (void);
+
 void
 _initialize_varobj (void)
 {
index 62953682d311be63e53fb124d942048c208bbe19..4ed9a804829ba12a81d20cb458bff77fd2d4218e 100644 (file)
@@ -125,10 +125,6 @@ vaxbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
 
   return 1;
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_vaxbsd_nat (void);
 
 void
 _initialize_vaxbsd_nat (void)
index cbd50f115de3ffc49e2bf0f9879adb7ac4174bc5..1f6cc1ac7f9690986052c65e62aa6a55e292d72e 100644 (file)
@@ -33,10 +33,6 @@ vaxnbsd_elf_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_solib_svr4_fetch_link_map_offsets
     (gdbarch, svr4_ilp32_fetch_link_map_offsets);
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_vaxnbsd_tdep (void);
 
 void
 _initialize_vaxnbsd_tdep (void)
index a92a35aaa33e1d883a477780b0232df201d6288e..4ff12fde3f62a5091a4ec46fec3d0f07e7297fff 100644 (file)
@@ -514,9 +514,6 @@ vax_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return (gdbarch);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_vax_tdep (void);
-
 void
 _initialize_vax_tdep (void)
 {
index 6a5a295ad16b91a6d64346797d5e5c1afa16ae80..ab5582d46cf3a0873ab32d9c955e95ee75371d4e 100644 (file)
@@ -2959,9 +2959,6 @@ windows_target (void)
   return t;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_windows_nat;
-
 void
 _initialize_windows_nat (void)
 {
@@ -3130,9 +3127,6 @@ windows_thread_alive (struct target_ops *ops, ptid_t ptid)
     ? FALSE : TRUE;
 }
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_check_for_gdb_ini;
-
 void
 _initialize_check_for_gdb_ini (void)
 {
@@ -3227,9 +3221,6 @@ bad_GetConsoleFontSize (HANDLE w, DWORD nFont)
   return size;
 }
  
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_loadable;
-
 /* Load any functions which may not be available in ancient versions
    of Windows.  */
 
index 3e7e8f8b2797f8bf51b44585d9b54ace1b486cff..886c4ece6784f621253e6710de77a11413db1ed3 100644 (file)
@@ -479,9 +479,6 @@ windows_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_solib_ops (gdbarch, &solib_target_so_ops);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_windows_tdep;
-
 /* Implementation of `tlb' variable.  */
 
 static const struct internalvar_funcs tlb_funcs =
index 138f941cabadacd73d0db5db94315ef5dbb966ba..0707cd78ffc99655cbfe980d9f33b26696dc191f 100644 (file)
@@ -3184,9 +3184,6 @@ xcoff_free_info (struct objfile *objfile, void *arg)
   xfree (arg);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_xcoffread;
-
 void
 _initialize_xcoffread (void)
 {
index 65638b963b786ae66ccf82df1647de7b43f6d2c1..50a062a3a47b6d189d9977c05cfc241b63c16127 100644 (file)
@@ -1055,8 +1055,6 @@ xml_fetch_content_from_file (const char *filename, void *baton)
   return text;
 }
 
-void _initialize_xml_support (void);
-
 void
 _initialize_xml_support (void)
 {
index 9d91fd540f8fc2a30b1f9ab504e025bd847fcb16..40a6d9818f80cf4f0de0b924a657192e5e65a24e 100644 (file)
@@ -861,9 +861,6 @@ xstormy16_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
    Initializer function for the Sanyo Xstormy16a module.
    Called by gdb at start-up.  */
 
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_xstormy16_tdep;
-
 void
 _initialize_xstormy16_tdep (void)
 {
index 278168620c4b84ccb52315b25caa065f95a34756..b8366c55a4144948d409c058fbf4c296ca188d6e 100644 (file)
@@ -338,8 +338,6 @@ ps_get_thread_area (struct ps_prochandle *ph,
   return PS_OK;
 }
 
-void _initialize_xtensa_linux_nat (void);
-
 void
 _initialize_xtensa_linux_nat (void)
 {
index d27cc42e0e80a18c789219bb6f01b1c46f6db2dc..e912c01940c9d415a9cfc3eba0097ee51ffcb88d 100644 (file)
@@ -112,9 +112,6 @@ xtensa_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
                                              svr4_fetch_objfile_link_map);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_xtensa_linux_tdep;
-
 void
 _initialize_xtensa_linux_tdep (void)
 {
index bfb9ac6fa4adc3748b28ee54aab2945a3330ca1f..51fa520702e28f774465b7bee03c8cd31069bbd0 100644 (file)
@@ -3278,9 +3278,6 @@ xtensa_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file)
   error (_("xtensa_dump_tdep(): not implemented"));
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_xtensa_tdep;
-
 void
 _initialize_xtensa_tdep (void)
 {