aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2017-09-09 11:02:37 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2017-09-09 11:02:37 -0700
commit481695ed5f6e0a8a9c9c50bfac1cdd2b3151e6c9 (patch)
treeb2fa5ca971fae445719b63ed54e223e08f4ba4e5 /gdb
parent2420fff633eff03ec1f85eba82a926cd0ecf4229 (diff)
downloadfsf-binutils-gdb-481695ed5f6e0a8a9c9c50bfac1cdd2b3151e6c9.zip
fsf-binutils-gdb-481695ed5f6e0a8a9c9c50bfac1cdd2b3151e6c9.tar.gz
fsf-binutils-gdb-481695ed5f6e0a8a9c9c50bfac1cdd2b3151e6c9.tar.bz2
Remove unnecessary function prototypes.
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog395
-rw-r--r--gdb/aarch64-linux-nat.c3
-rw-r--r--gdb/aarch64-linux-tdep.c3
-rw-r--r--gdb/aarch64-newlib-tdep.c3
-rw-r--r--gdb/aarch64-tdep.c3
-rw-r--r--gdb/ada-exp.y3
-rw-r--r--gdb/ada-lang.c3
-rw-r--r--gdb/ada-tasks.c3
-rw-r--r--gdb/addrmap.c5
-rw-r--r--gdb/agent.c3
-rw-r--r--gdb/aix-thread.c2
-rw-r--r--gdb/alpha-bsd-nat.c3
-rw-r--r--gdb/alpha-linux-nat.c2
-rw-r--r--gdb/alpha-linux-tdep.c3
-rw-r--r--gdb/alpha-nbsd-tdep.c3
-rw-r--r--gdb/alpha-obsd-tdep.c3
-rw-r--r--gdb/alpha-tdep.c2
-rw-r--r--gdb/amd64-darwin-tdep.c3
-rw-r--r--gdb/amd64-dicos-tdep.c3
-rw-r--r--gdb/amd64-fbsd-nat.c3
-rw-r--r--gdb/amd64-fbsd-tdep.c4
-rw-r--r--gdb/amd64-linux-nat.c3
-rw-r--r--gdb/amd64-linux-tdep.c4
-rw-r--r--gdb/amd64-nbsd-nat.c4
-rw-r--r--gdb/amd64-nbsd-tdep.c4
-rw-r--r--gdb/amd64-obsd-nat.c4
-rw-r--r--gdb/amd64-obsd-tdep.c4
-rw-r--r--gdb/amd64-sol2-tdep.c4
-rw-r--r--gdb/amd64-tdep.c3
-rw-r--r--gdb/amd64-windows-nat.c3
-rw-r--r--gdb/amd64-windows-tdep.c3
-rw-r--r--gdb/annotate.c2
-rw-r--r--gdb/arc-newlib-tdep.c3
-rw-r--r--gdb/arc-tdep.c3
-rw-r--r--gdb/arch-utils.c3
-rw-r--r--gdb/arm-linux-nat.c2
-rw-r--r--gdb/arm-linux-tdep.c3
-rw-r--r--gdb/arm-nbsd-tdep.c3
-rw-r--r--gdb/arm-obsd-tdep.c4
-rw-r--r--gdb/arm-symbian-tdep.c3
-rw-r--r--gdb/arm-tdep.c2
-rw-r--r--gdb/arm-wince-tdep.c3
-rw-r--r--gdb/auto-load.c2
-rw-r--r--gdb/auxv.c3
-rw-r--r--gdb/avr-tdep.c2
-rw-r--r--gdb/ax-gdb.c2
-rw-r--r--gdb/bfin-linux-tdep.c3
-rw-r--r--gdb/bfin-tdep.c3
-rw-r--r--gdb/break-catch-sig.c2
-rw-r--r--gdb/break-catch-syscall.c2
-rw-r--r--gdb/break-catch-throw.c2
-rw-r--r--gdb/breakpoint.c2
-rw-r--r--gdb/bsd-uthread.c3
-rw-r--r--gdb/btrace.c1
-rw-r--r--gdb/charset.c3
-rw-r--r--gdb/cli/cli-cmds.c4
-rw-r--r--gdb/cli/cli-dump.c2
-rw-r--r--gdb/cli/cli-interp.c1
-rw-r--r--gdb/cli/cli-logging.c3
-rw-r--r--gdb/cli/cli-script.c4
-rw-r--r--gdb/coff-pe-read.c4
-rw-r--r--gdb/coffread.c2
-rw-r--r--gdb/compile/compile.c2
-rw-r--r--gdb/complaints.c2
-rw-r--r--gdb/completer.c2
-rw-r--r--gdb/copying.awk2
-rw-r--r--gdb/copying.c2
-rw-r--r--gdb/core-regset.c3
-rw-r--r--gdb/corefile.c4
-rw-r--r--gdb/corelow.c2
-rw-r--r--gdb/cp-abi.c2
-rw-r--r--gdb/cp-namespace.c3
-rw-r--r--gdb/cp-support.c3
-rw-r--r--gdb/cp-valprint.c2
-rw-r--r--gdb/cris-linux-tdep.c3
-rw-r--r--gdb/cris-tdep.c2
-rw-r--r--gdb/ctf.c4
-rw-r--r--gdb/d-lang.c3
-rw-r--r--gdb/darwin-nat-info.c3
-rw-r--r--gdb/darwin-nat.c3
-rw-r--r--gdb/dbxread.c2
-rw-r--r--gdb/dcache.c2
-rw-r--r--gdb/demangle.c2
-rw-r--r--gdb/disasm-selftests.c3
-rw-r--r--gdb/disasm.c3
-rw-r--r--gdb/dtrace-probe.c2
-rw-r--r--gdb/dummy-frame.c2
-rw-r--r--gdb/dwarf2-frame-tailcall.c3
-rw-r--r--gdb/dwarf2-frame.c3
-rw-r--r--gdb/dwarf2expr.c3
-rw-r--r--gdb/dwarf2loc.c3
-rw-r--r--gdb/dwarf2read.c2
-rw-r--r--gdb/elfread.c2
-rw-r--r--gdb/exec.c2
-rw-r--r--gdb/extension.c2
-rw-r--r--gdb/f-lang.c2
-rw-r--r--gdb/f-valprint.c1
-rw-r--r--gdb/fbsd-nat.c3
-rw-r--r--gdb/fbsd-tdep.c3
-rw-r--r--gdb/filesystem.c3
-rw-r--r--gdb/findcmd.c3
-rw-r--r--gdb/fork-child.c3
-rw-r--r--gdb/frame-base.c2
-rw-r--r--gdb/frame-unwind.c3
-rw-r--r--gdb/frame.c2
-rw-r--r--gdb/frv-linux-tdep.c3
-rw-r--r--gdb/frv-tdep.c2
-rw-r--r--gdb/ft32-tdep.c4
-rw-r--r--gdb/gcore.c3
-rw-r--r--gdb/gdb_bfd.c3
-rw-r--r--gdb/gdbarch.c2
-rwxr-xr-xgdb/gdbarch.sh2
-rw-r--r--gdb/gdbtypes.c2
-rw-r--r--gdb/gnu-nat.c5
-rw-r--r--gdb/gnu-v2-abi.c2
-rw-r--r--gdb/gnu-v3-abi.c2
-rw-r--r--gdb/go-lang.c2
-rw-r--r--gdb/go32-nat.c3
-rw-r--r--gdb/guile/guile.c3
-rw-r--r--gdb/h8300-tdep.c2
-rw-r--r--gdb/hppa-linux-nat.c2
-rw-r--r--gdb/hppa-linux-tdep.c4
-rw-r--r--gdb/hppa-nbsd-nat.c4
-rw-r--r--gdb/hppa-nbsd-tdep.c4
-rw-r--r--gdb/hppa-obsd-nat.c3
-rw-r--r--gdb/hppa-obsd-tdep.c4
-rw-r--r--gdb/hppa-tdep.c3
-rw-r--r--gdb/i386-bsd-nat.c4
-rw-r--r--gdb/i386-cygwin-tdep.c3
-rw-r--r--gdb/i386-darwin-tdep.c3
-rw-r--r--gdb/i386-dicos-tdep.c3
-rw-r--r--gdb/i386-fbsd-nat.c3
-rw-r--r--gdb/i386-fbsd-tdep.c4
-rw-r--r--gdb/i386-gnu-nat.c3
-rw-r--r--gdb/i386-gnu-tdep.c3
-rw-r--r--gdb/i386-linux-nat.c4
-rw-r--r--gdb/i386-linux-tdep.c3
-rw-r--r--gdb/i386-nbsd-nat.c4
-rw-r--r--gdb/i386-nbsd-tdep.c3
-rw-r--r--gdb/i386-nto-tdep.c3
-rw-r--r--gdb/i386-obsd-nat.c4
-rw-r--r--gdb/i386-obsd-tdep.c4
-rw-r--r--gdb/i386-sol2-nat.c3
-rw-r--r--gdb/i386-sol2-tdep.c3
-rw-r--r--gdb/i386-tdep.c3
-rw-r--r--gdb/i386-windows-nat.c3
-rw-r--r--gdb/ia64-libunwind-tdep.c3
-rw-r--r--gdb/ia64-linux-nat.c2
-rw-r--r--gdb/ia64-linux-tdep.c3
-rw-r--r--gdb/ia64-tdep.c2
-rw-r--r--gdb/ia64-vms-tdep.c3
-rw-r--r--gdb/infcall.c4
-rw-r--r--gdb/infcmd.c2
-rw-r--r--gdb/inferior.c2
-rw-r--r--gdb/inflow.c2
-rw-r--r--gdb/infrun.c2
-rw-r--r--gdb/interps.c2
-rw-r--r--gdb/iq2000-tdep.c3
-rw-r--r--gdb/jit.c4
-rw-r--r--gdb/language.c2
-rw-r--r--gdb/linux-fork.c3
-rw-r--r--gdb/linux-nat.c3
-rw-r--r--gdb/linux-tdep.c3
-rw-r--r--gdb/linux-thread-db.c3
-rw-r--r--gdb/lm32-tdep.c3
-rw-r--r--gdb/m2-lang.c1
-rw-r--r--gdb/m32c-tdep.c3
-rw-r--r--gdb/m32r-linux-nat.c2
-rw-r--r--gdb/m32r-linux-tdep.c3
-rw-r--r--gdb/m32r-tdep.c2
-rw-r--r--gdb/m68hc11-tdep.c3
-rw-r--r--gdb/m68k-bsd-nat.c4
-rw-r--r--gdb/m68k-bsd-tdep.c4
-rw-r--r--gdb/m68k-linux-nat.c3
-rw-r--r--gdb/m68k-linux-tdep.c3
-rw-r--r--gdb/m68k-tdep.c2
-rw-r--r--gdb/m88k-bsd-nat.c4
-rw-r--r--gdb/m88k-tdep.c4
-rw-r--r--gdb/machoread.c3
-rw-r--r--gdb/macrocmd.c3
-rw-r--r--gdb/macroscope.c3
-rw-r--r--gdb/maint.c2
-rw-r--r--gdb/mdebugread.c2
-rw-r--r--gdb/memattr.c2
-rw-r--r--gdb/mep-tdep.c3
-rw-r--r--gdb/mi/mi-cmd-env.c2
-rw-r--r--gdb/mi/mi-cmds.c2
-rw-r--r--gdb/mi/mi-interp.c2
-rw-r--r--gdb/mi/mi-main.c1
-rw-r--r--gdb/microblaze-linux-tdep.c3
-rw-r--r--gdb/microblaze-tdep.c3
-rw-r--r--gdb/mips-fbsd-nat.c4
-rw-r--r--gdb/mips-fbsd-tdep.c4
-rw-r--r--gdb/mips-linux-nat.c2
-rw-r--r--gdb/mips-linux-tdep.c3
-rw-r--r--gdb/mips-nbsd-nat.c4
-rw-r--r--gdb/mips-nbsd-tdep.c4
-rw-r--r--gdb/mips-sde-tdep.c3
-rw-r--r--gdb/mips-tdep.c2
-rw-r--r--gdb/mips64-obsd-nat.c4
-rw-r--r--gdb/mips64-obsd-tdep.c4
-rw-r--r--gdb/mipsread.c3
-rw-r--r--gdb/mn10300-linux-tdep.c3
-rw-r--r--gdb/mn10300-tdep.c3
-rw-r--r--gdb/moxie-tdep.c4
-rw-r--r--gdb/msp430-tdep.c3
-rw-r--r--gdb/mt-tdep.c3
-rw-r--r--gdb/nds32-tdep.c2
-rw-r--r--gdb/nios2-linux-tdep.c4
-rw-r--r--gdb/nios2-tdep.c2
-rw-r--r--gdb/nto-procfs.c2
-rw-r--r--gdb/nto-tdep.c3
-rw-r--r--gdb/objc-lang.c6
-rw-r--r--gdb/objfiles.c3
-rw-r--r--gdb/observer.c7
-rw-r--r--gdb/opencl-lang.c5
-rw-r--r--gdb/osabi.c2
-rw-r--r--gdb/osdata.c2
-rw-r--r--gdb/p-valprint.c3
-rw-r--r--gdb/parse.c2
-rw-r--r--gdb/ppc-fbsd-nat.c4
-rw-r--r--gdb/ppc-fbsd-tdep.c4
-rw-r--r--gdb/ppc-linux-nat.c2
-rw-r--r--gdb/ppc-linux-tdep.c3
-rw-r--r--gdb/ppc-nbsd-nat.c3
-rw-r--r--gdb/ppc-nbsd-tdep.c4
-rw-r--r--gdb/ppc-obsd-nat.c4
-rw-r--r--gdb/ppc-obsd-tdep.c4
-rw-r--r--gdb/printcmd.c4
-rw-r--r--gdb/probe.c2
-rw-r--r--gdb/proc-api.c4
-rw-r--r--gdb/proc-events.c4
-rw-r--r--gdb/proc-service.c3
-rw-r--r--gdb/procfs.c4
-rw-r--r--gdb/psymtab.c4
-rw-r--r--gdb/python/python.c6
-rw-r--r--gdb/ravenscar-thread.c3
-rw-r--r--gdb/record-btrace.c2
-rw-r--r--gdb/record-full.c3
-rw-r--r--gdb/record.c3
-rw-r--r--gdb/regcache.c2
-rw-r--r--gdb/reggroups.c2
-rw-r--r--gdb/remote-notif.c3
-rw-r--r--gdb/remote-sim.c2
-rw-r--r--gdb/remote.c2
-rw-r--r--gdb/reverse.c4
-rw-r--r--gdb/rl78-tdep.c3
-rw-r--r--gdb/rs6000-aix-tdep.c3
-rw-r--r--gdb/rs6000-lynx178-tdep.c3
-rw-r--r--gdb/rs6000-nat.c2
-rw-r--r--gdb/rs6000-tdep.c3
-rw-r--r--gdb/rust-exp.y2
-rw-r--r--gdb/rx-tdep.c3
-rw-r--r--gdb/s390-linux-nat.c2
-rw-r--r--gdb/s390-linux-tdep.c3
-rw-r--r--gdb/score-tdep.c2
-rw-r--r--gdb/selftest-arch.c3
-rw-r--r--gdb/ser-go32.c3
-rw-r--r--gdb/ser-mingw.c2
-rw-r--r--gdb/ser-pipe.c2
-rw-r--r--gdb/ser-tcp.c2
-rw-r--r--gdb/ser-unix.c2
-rw-r--r--gdb/serial.c2
-rw-r--r--gdb/sh-linux-tdep.c3
-rw-r--r--gdb/sh-nbsd-nat.c3
-rw-r--r--gdb/sh-nbsd-tdep.c4
-rw-r--r--gdb/sh-tdep.c2
-rw-r--r--gdb/skip.c3
-rw-r--r--gdb/sol-thread.c3
-rw-r--r--gdb/solib-aix.c3
-rw-r--r--gdb/solib-darwin.c3
-rw-r--r--gdb/solib-dsbt.c3
-rw-r--r--gdb/solib-frv.c3
-rw-r--r--gdb/solib-spu.c3
-rw-r--r--gdb/solib-svr4.c2
-rw-r--r--gdb/solib-target.c3
-rw-r--r--gdb/solib.c2
-rw-r--r--gdb/source.c4
-rw-r--r--gdb/sparc-linux-nat.c2
-rw-r--r--gdb/sparc-linux-tdep.c3
-rw-r--r--gdb/sparc-nat.c4
-rw-r--r--gdb/sparc-nbsd-nat.c4
-rw-r--r--gdb/sparc-nbsd-tdep.c4
-rw-r--r--gdb/sparc-obsd-tdep.c4
-rw-r--r--gdb/sparc-sol2-nat.c3
-rw-r--r--gdb/sparc-sol2-tdep.c4
-rw-r--r--gdb/sparc-tdep.c4
-rw-r--r--gdb/sparc64-fbsd-nat.c4
-rw-r--r--gdb/sparc64-fbsd-tdep.c3
-rw-r--r--gdb/sparc64-linux-nat.c3
-rw-r--r--gdb/sparc64-linux-tdep.c4
-rw-r--r--gdb/sparc64-nat.c4
-rw-r--r--gdb/sparc64-nbsd-nat.c4
-rw-r--r--gdb/sparc64-nbsd-tdep.c4
-rw-r--r--gdb/sparc64-obsd-nat.c4
-rw-r--r--gdb/sparc64-obsd-tdep.c4
-rw-r--r--gdb/sparc64-sol2-tdep.c4
-rw-r--r--gdb/spu-linux-nat.c3
-rw-r--r--gdb/spu-multiarch.c3
-rw-r--r--gdb/spu-tdep.c3
-rw-r--r--gdb/stabsread.c2
-rw-r--r--gdb/stack.c4
-rw-r--r--gdb/stap-probe.c2
-rw-r--r--gdb/std-regs.c2
-rw-r--r--gdb/symfile-debug.c2
-rw-r--r--gdb/symfile-mem.c5
-rw-r--r--gdb/symfile.c2
-rw-r--r--gdb/symmisc.c2
-rw-r--r--gdb/symtab.c2
-rw-r--r--gdb/target-dcache.c3
-rw-r--r--gdb/target-descriptions.c3
-rw-r--r--gdb/thread.c4
-rw-r--r--gdb/tic6x-linux-tdep.c3
-rw-r--r--gdb/tic6x-tdep.c3
-rw-r--r--gdb/tilegx-linux-nat.c3
-rw-r--r--gdb/tilegx-linux-tdep.c3
-rw-r--r--gdb/tilegx-tdep.c3
-rw-r--r--gdb/tracefile-tfile.c2
-rw-r--r--gdb/tracefile.c2
-rw-r--r--gdb/tracepoint.c2
-rw-r--r--gdb/tui/tui-hooks.c2
-rw-r--r--gdb/tui/tui-interp.c3
-rw-r--r--gdb/tui/tui-layout.c3
-rw-r--r--gdb/tui/tui-regs.c3
-rw-r--r--gdb/tui/tui-stack.c3
-rw-r--r--gdb/tui/tui-win.c3
-rw-r--r--gdb/tui/tui.c3
-rw-r--r--gdb/typeprint.c2
-rw-r--r--gdb/user-regs.c2
-rw-r--r--gdb/utils.c3
-rw-r--r--gdb/v850-tdep.c2
-rw-r--r--gdb/valarith.c3
-rw-r--r--gdb/valops.c2
-rw-r--r--gdb/valprint.c2
-rw-r--r--gdb/value.c4
-rw-r--r--gdb/varobj.c3
-rw-r--r--gdb/vax-bsd-nat.c4
-rw-r--r--gdb/vax-nbsd-tdep.c4
-rw-r--r--gdb/vax-tdep.c3
-rw-r--r--gdb/windows-nat.c9
-rw-r--r--gdb/windows-tdep.c3
-rw-r--r--gdb/xcoffread.c3
-rw-r--r--gdb/xml-support.c2
-rw-r--r--gdb/xstormy16-tdep.c3
-rw-r--r--gdb/xtensa-linux-nat.c2
-rw-r--r--gdb/xtensa-linux-tdep.c3
-rw-r--r--gdb/xtensa-tdep.c3
347 files changed, 396 insertions, 1013 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 96369d5..ae6f2c9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c
index 3f5b30e..6ad6f66 100644
--- a/gdb/aarch64-linux-nat.c
+++ b/gdb/aarch64-linux-nat.c
@@ -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)
{
diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c
index 847454f..4381359 100644
--- a/gdb/aarch64-linux-tdep.c
+++ b/gdb/aarch64-linux-tdep.c
@@ -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)
{
diff --git a/gdb/aarch64-newlib-tdep.c b/gdb/aarch64-newlib-tdep.c
index 52bf993..9d9fce1 100644
--- a/gdb/aarch64-newlib-tdep.c
+++ b/gdb/aarch64-newlib-tdep.c
@@ -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)
{
diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c
index 5a627a3..e88889f 100644
--- a/gdb/aarch64-tdep.c
+++ b/gdb/aarch64-tdep.c
@@ -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)
{
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index 618c9d5..4c1ff7b 100644
--- a/gdb/ada-exp.y
+++ b/gdb/ada-exp.y
@@ -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)
{
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 86f09b9..fdc2a90 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -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;
diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c
index cf43f0e..19f74dd 100644
--- a/gdb/ada-tasks.c
+++ b/gdb/ada-tasks.c
@@ -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)
{
diff --git a/gdb/addrmap.c b/gdb/addrmap.c
index 8e6c477..93454e6 100644
--- a/gdb/addrmap.c
+++ b/gdb/addrmap.c
@@ -588,13 +588,8 @@ addrmap_create_mutable (struct obstack *obstack)
return (struct addrmap *) map;
}
-
-
/* Initialization. */
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_addrmap;
-
void
_initialize_addrmap (void)
{
diff --git a/gdb/agent.c b/gdb/agent.c
index 6f6af2a..c0f10aa 100644
--- a/gdb/agent.c
+++ b/gdb/agent.c
@@ -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"
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index f3434a6..f9ec864 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -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)
{
diff --git a/gdb/alpha-bsd-nat.c b/gdb/alpha-bsd-nat.c
index 1025553..8a67bb0 100644
--- a/gdb/alpha-bsd-nat.c
+++ b/gdb/alpha-bsd-nat.c
@@ -187,9 +187,6 @@ alphabsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
}
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_alphabsd_nat (void);
-
void
_initialize_alphabsd_nat (void)
{
diff --git a/gdb/alpha-linux-nat.c b/gdb/alpha-linux-nat.c
index a8f1a1c..b88ffed 100644
--- a/gdb/alpha-linux-nat.c
+++ b/gdb/alpha-linux-nat.c
@@ -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)
{
diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c
index 33587b8..1392566 100644
--- a/gdb/alpha-linux-tdep.c
+++ b/gdb/alpha-linux-tdep.c
@@ -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)
{
diff --git a/gdb/alpha-nbsd-tdep.c b/gdb/alpha-nbsd-tdep.c
index 32f11ec..a9b372b 100644
--- a/gdb/alpha-nbsd-tdep.c
+++ b/gdb/alpha-nbsd-tdep.c
@@ -276,9 +276,6 @@ alphanbsd_init_abi (struct gdbarch_info info,
}
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_alphanbsd_tdep (void);
-
void
_initialize_alphanbsd_tdep (void)
{
diff --git a/gdb/alpha-obsd-tdep.c b/gdb/alpha-obsd-tdep.c
index 5f125f2..461e062 100644
--- a/gdb/alpha-obsd-tdep.c
+++ b/gdb/alpha-obsd-tdep.c
@@ -126,9 +126,6 @@ alphaobsd_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
}
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_alphaobsd_tdep (void);
-
void
_initialize_alphaobsd_tdep (void)
{
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 06ee90c..e66517d 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -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)
{
diff --git a/gdb/amd64-darwin-tdep.c b/gdb/amd64-darwin-tdep.c
index 81dba82..7f6cb94 100644
--- a/gdb/amd64-darwin-tdep.c
+++ b/gdb/amd64-darwin-tdep.c
@@ -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)
{
diff --git a/gdb/amd64-dicos-tdep.c b/gdb/amd64-dicos-tdep.c
index d319dd9..99a77a0 100644
--- a/gdb/amd64-dicos-tdep.c
+++ b/gdb/amd64-dicos-tdep.c
@@ -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)
{
diff --git a/gdb/amd64-fbsd-nat.c b/gdb/amd64-fbsd-nat.c
index 107b4f8..f47e806 100644
--- a/gdb/amd64-fbsd-nat.c
+++ b/gdb/amd64-fbsd-nat.c
@@ -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)
{
diff --git a/gdb/amd64-fbsd-tdep.c b/gdb/amd64-fbsd-tdep.c
index 897cab9..0047e2c 100644
--- a/gdb/amd64-fbsd-tdep.c
+++ b/gdb/amd64-fbsd-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_amd64fbsd_tdep (void);
void
_initialize_amd64fbsd_tdep (void)
diff --git a/gdb/amd64-linux-nat.c b/gdb/amd64-linux-nat.c
index d24c028..a83ad8b 100644
--- a/gdb/amd64-linux-nat.c
+++ b/gdb/amd64-linux-nat.c
@@ -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)
{
diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c
index 89d3b6a..87f09a4 100644
--- a/gdb/amd64-linux-tdep.c
+++ b/gdb/amd64-linux-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern void _initialize_amd64_linux_tdep (void);
void
_initialize_amd64_linux_tdep (void)
diff --git a/gdb/amd64-nbsd-nat.c b/gdb/amd64-nbsd-nat.c
index 560ae89..73b737c 100644
--- a/gdb/amd64-nbsd-nat.c
+++ b/gdb/amd64-nbsd-nat.c
@@ -52,10 +52,6 @@ static int amd64nbsd32_r_reg_offset[] =
16 * 8, /* %fs */
15 * 8 /* %gs */
};
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_amd64nbsd_nat (void);
void
_initialize_amd64nbsd_nat (void)
diff --git a/gdb/amd64-nbsd-tdep.c b/gdb/amd64-nbsd-tdep.c
index 9ae02272..6c4b6cc 100644
--- a/gdb/amd64-nbsd-tdep.c
+++ b/gdb/amd64-nbsd-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_amd64nbsd_tdep (void);
void
_initialize_amd64nbsd_tdep (void)
diff --git a/gdb/amd64-obsd-nat.c b/gdb/amd64-obsd-nat.c
index 1c46581..8d05aaf 100644
--- a/gdb/amd64-obsd-nat.c
+++ b/gdb/amd64-obsd-nat.c
@@ -124,10 +124,6 @@ amd64obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
return 1;
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_amd64obsd_nat (void);
void
_initialize_amd64obsd_nat (void)
diff --git a/gdb/amd64-obsd-tdep.c b/gdb/amd64-obsd-tdep.c
index 54942cc..729342e 100644
--- a/gdb/amd64-obsd-tdep.c
+++ b/gdb/amd64-obsd-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_amd64obsd_tdep (void);
void
_initialize_amd64obsd_tdep (void)
diff --git a/gdb/amd64-sol2-tdep.c b/gdb/amd64-sol2-tdep.c
index 1ae2edc..b44e5f1 100644
--- a/gdb/amd64-sol2-tdep.c
+++ b/gdb/amd64-sol2-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern void _initialize_amd64_sol2_tdep (void);
void
_initialize_amd64_sol2_tdep (void)
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index d459eb2..f1e2078 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -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)
{
diff --git a/gdb/amd64-windows-nat.c b/gdb/amd64-windows-nat.c
index fd79bfc..2a90d6a 100644
--- a/gdb/amd64-windows-nat.c
+++ b/gdb/amd64-windows-nat.c
@@ -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)
{
diff --git a/gdb/amd64-windows-tdep.c b/gdb/amd64-windows-tdep.c
index 5ac73bd..975c684 100644
--- a/gdb/amd64-windows-tdep.c
+++ b/gdb/amd64-windows-tdep.c
@@ -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)
{
diff --git a/gdb/annotate.c b/gdb/annotate.c
index 426005a..f68ff10 100644
--- a/gdb/annotate.c
+++ b/gdb/annotate.c
@@ -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);
diff --git a/gdb/arc-newlib-tdep.c b/gdb/arc-newlib-tdep.c
index a6a232f..50a1bce 100644
--- a/gdb/arc-newlib-tdep.c
+++ b/gdb/arc-newlib-tdep.c
@@ -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)
{
diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c
index 21f7015..31c7b56 100644
--- a/gdb/arc-tdep.c
+++ b/gdb/arc-tdep.c
@@ -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)
{
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 4e0fdf4..02ffd6b 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -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)
{
diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c
index 4039d1e..fc66063 100644
--- a/gdb/arm-linux-nat.c
+++ b/gdb/arm-linux-nat.c
@@ -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)
{
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index 95c5260..f3ca8f7 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -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)
{
diff --git a/gdb/arm-nbsd-tdep.c b/gdb/arm-nbsd-tdep.c
index 92d368c..09780d8 100644
--- a/gdb/arm-nbsd-tdep.c
+++ b/gdb/arm-nbsd-tdep.c
@@ -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)
{
diff --git a/gdb/arm-obsd-tdep.c b/gdb/arm-obsd-tdep.c
index 6db5487..66e6488 100644
--- a/gdb/arm-obsd-tdep.c
+++ b/gdb/arm-obsd-tdep.c
@@ -114,10 +114,6 @@ armobsd_init_abi (struct gdbarch_info info,
break;
}
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_armobsd_tdep;
void
_initialize_armobsd_tdep (void)
diff --git a/gdb/arm-symbian-tdep.c b/gdb/arm-symbian-tdep.c
index f55e12e..061fd1f 100644
--- a/gdb/arm-symbian-tdep.c
+++ b/gdb/arm-symbian-tdep.c
@@ -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)
{
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 0c1a0b3..6dda13d 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -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)
{
diff --git a/gdb/arm-wince-tdep.c b/gdb/arm-wince-tdep.c
index 76bf08f..786c39a 100644
--- a/gdb/arm-wince-tdep.c
+++ b/gdb/arm-wince-tdep.c
@@ -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)
{
diff --git a/gdb/auto-load.c b/gdb/auto-load.c
index 5bba813..ddd0601 100644
--- a/gdb/auto-load.c
+++ b/gdb/auto-load.c
@@ -1567,8 +1567,6 @@ found and/or loaded."),
return &retval;
}
-void _initialize_auto_load (void);
-
void
_initialize_auto_load (void)
{
diff --git a/gdb/auxv.c b/gdb/auxv.c
index 3daf525..95cbeec 100644
--- a/gdb/auxv.c
+++ b/gdb/auxv.c
@@ -567,9 +567,6 @@ info_auxv_command (char *cmd, int from_tty)
}
}
-
-extern initialize_file_ftype _initialize_auxv; /* -Wmissing-prototypes; */
-
void
_initialize_auxv (void)
{
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c
index 7867c2f..6818f33 100644
--- a/gdb/avr-tdep.c
+++ b/gdb/avr-tdep.c
@@ -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)
{
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c
index 2b5e481..c888e8c 100644
--- a/gdb/ax-gdb.c
+++ b/gdb/ax-gdb.c
@@ -2756,11 +2756,9 @@ maint_agent_printf_command (char *exp, int from_tty)
do_cleanups (old_chain);
dont_repeat ();
}
-
/* Initialization code. */
-void _initialize_ax_gdb (void);
void
_initialize_ax_gdb (void)
{
diff --git a/gdb/bfin-linux-tdep.c b/gdb/bfin-linux-tdep.c
index cd87769..39ef2c8 100644
--- a/gdb/bfin-linux-tdep.c
+++ b/gdb/bfin-linux-tdep.c
@@ -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)
{
diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c
index aa9efeb..2e99418 100644
--- a/gdb/bfin-tdep.c
+++ b/gdb/bfin-tdep.c
@@ -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)
{
diff --git a/gdb/break-catch-sig.c b/gdb/break-catch-sig.c
index 9b8cf64..805084f 100644
--- a/gdb/break-catch-sig.c
+++ b/gdb/break-catch-sig.c
@@ -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)
{
diff --git a/gdb/break-catch-syscall.c b/gdb/break-catch-syscall.c
index 1be29be..01e761c 100644
--- a/gdb/break-catch-syscall.c
+++ b/gdb/break-catch-syscall.c
@@ -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)
{
diff --git a/gdb/break-catch-throw.c b/gdb/break-catch-throw.c
index da06baa..c8612db 100644
--- a/gdb/break-catch-throw.c
+++ b/gdb/break-catch-throw.c
@@ -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)
{
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 778a011..4b329b9 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -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;
diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c
index 9249700..c97dd34 100644
--- a/gdb/bsd-uthread.c
+++ b/gdb/bsd-uthread.c
@@ -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)
{
diff --git a/gdb/btrace.c b/gdb/btrace.c
index d9810f3..8527c6f 100644
--- a/gdb/btrace.c
+++ b/gdb/btrace.c
@@ -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)
{
diff --git a/gdb/charset.c b/gdb/charset.c
index be95bbe..cc74331 100644
--- a/gdb/charset.c
+++ b/gdb/charset.c
@@ -705,11 +705,8 @@ wchar_iterator::iterate (enum wchar_iterate_result *out_result,
return -1;
}
-
/* The charset.c module initialization function. */
-extern initialize_file_ftype _initialize_charset; /* -Wmissing-prototype */
-
static VEC (char_ptr) *charsets;
#ifdef PHONY_ICONV
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index b79ceb2..a2041fa 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -1665,10 +1665,6 @@ show_max_user_call_depth (struct ui_file *file, int from_tty,
value);
}
-
-
-initialize_file_ftype _initialize_cli_cmds;
-
void
_initialize_cli_cmds (void)
{
diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c
index 30897d8..8e59ed4 100644
--- a/gdb/cli/cli-dump.c
+++ b/gdb/cli/cli-dump.c
@@ -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)
{
diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c
index 8712c75..609a419 100644
--- a/gdb/cli/cli-interp.c
+++ b/gdb/cli/cli-interp.c
@@ -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)
diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c
index e8ec444..67005a1 100644
--- a/gdb/cli/cli-logging.c
+++ b/gdb/cli/cli-logging.c
@@ -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)
{
diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c
index 1757e4e..9b2ffd0 100644
--- a/gdb/cli/cli-script.c
+++ b/gdb/cli/cli-script.c
@@ -1618,10 +1618,6 @@ show_user_1 (struct cmd_list_element *c, const char *prefix, const char *name,
fputs_filtered ("\n", stream);
}
-
-
-initialize_file_ftype _initialize_cli_script;
-
void
_initialize_cli_script (void)
{
diff --git a/gdb/coff-pe-read.c b/gdb/coff-pe-read.c
index e8c6b67..0aab801 100644
--- a/gdb/coff-pe-read.c
+++ b/gdb/coff-pe-read.c
@@ -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
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 9db4792..4b5edf0 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -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;
diff --git a/gdb/compile/compile.c b/gdb/compile/compile.c
index e4865d0..fc23d12 100644
--- a/gdb/compile/compile.c
+++ b/gdb/compile/compile.c
@@ -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)
{
diff --git a/gdb/complaints.c b/gdb/complaints.c
index dc60dc3..aba305c 100644
--- a/gdb/complaints.c
+++ b/gdb/complaints.c
@@ -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? */
diff --git a/gdb/completer.c b/gdb/completer.c
index a029263..5d81f24 100644
--- a/gdb/completer.c
+++ b/gdb/completer.c
@@ -2775,8 +2775,6 @@ gdb_display_match_list (char **matches, int len, int max,
}
}
}
-
-extern initialize_file_ftype _initialize_completer; /* -Wmissing-prototypes */
void
_initialize_completer (void)
diff --git a/gdb/copying.awk b/gdb/copying.awk
index 1801997..2a71939 100644
--- a/gdb/copying.awk
+++ b/gdb/copying.awk
@@ -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 "{";
diff --git a/gdb/copying.c b/gdb/copying.c
index 66837b8..db02462 100644
--- a/gdb/copying.c
+++ b/gdb/copying.c
@@ -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)
{
diff --git a/gdb/core-regset.c b/gdb/core-regset.c
index 278887b..9d2b914 100644
--- a/gdb/core-regset.c
+++ b/gdb/core-regset.c
@@ -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)
{
diff --git a/gdb/corefile.c b/gdb/corefile.c
index 0996f9c..da3f72f 100644
--- a/gdb/corefile.c
+++ b/gdb/corefile.c
@@ -33,10 +33,6 @@
#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
diff --git a/gdb/corelow.c b/gdb/corelow.c
index ac72268..594db1d 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -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. */
diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c
index f4cf944..49fab32 100644
--- a/gdb/cp-abi.c
+++ b/gdb/cp-abi.c
@@ -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)
{
diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c
index c7b5aa8..f27783a 100644
--- a/gdb/cp-namespace.c
+++ b/gdb/cp-namespace.c
@@ -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)
{
diff --git a/gdb/cp-support.c b/gdb/cp-support.c
index 8bcbe65..11318ef 100644
--- a/gdb/cp-support.c
+++ b/gdb/cp-support.c
@@ -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
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c
index af70421..fb9bfd9 100644
--- a/gdb/cp-valprint.c
+++ b/gdb/cp-valprint.c
@@ -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 *);
diff --git a/gdb/cris-linux-tdep.c b/gdb/cris-linux-tdep.c
index 896a35e..9219a97 100644
--- a/gdb/cris-linux-tdep.c
+++ b/gdb/cris-linux-tdep.c
@@ -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)
{
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index 85a12e2..d64c99a 100644
--- a/gdb/cris-tdep.c
+++ b/gdb/cris-tdep.c
@@ -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)
{
diff --git a/gdb/ctf.c b/gdb/ctf.c
index 82e7013..46a1bb5 100644
--- 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
diff --git a/gdb/d-lang.c b/gdb/d-lang.c
index 941d3ed..277df01 100644
--- a/gdb/d-lang.c
+++ b/gdb/d-lang.c
@@ -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)
{
diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c
index 91bc5b3..c15c2fd 100644
--- a/gdb/darwin-nat-info.c
+++ b/gdb/darwin-nat-info.c
@@ -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)
{
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index b721da8..e96f24d 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -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)
{
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index daa3ce9..95b89f9 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -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,
diff --git a/gdb/dcache.c b/gdb/dcache.c
index cec1a81..891fa02 100644
--- a/gdb/dcache.c
+++ b/gdb/dcache.c
@@ -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
diff --git a/gdb/demangle.c b/gdb/demangle.c
index 8823569..d034f4e 100644
--- a/gdb/demangle.c
+++ b/gdb/demangle.c
@@ -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)
{
diff --git a/gdb/disasm-selftests.c b/gdb/disasm-selftests.c
index 4d38ccf..bc2f7b7 100644
--- a/gdb/disasm-selftests.c
+++ b/gdb/disasm-selftests.c
@@ -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)
{
diff --git a/gdb/disasm.c b/gdb/disasm.c
index c3528e0..8061b60 100644
--- a/gdb/disasm.c
+++ b/gdb/disasm.c
@@ -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)
{
diff --git a/gdb/dtrace-probe.c b/gdb/dtrace-probe.c
index c611b16..c1a8cb0 100644
--- a/gdb/dtrace-probe.c
+++ b/gdb/dtrace-probe.c
@@ -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)
{
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c
index 2a84b28..8dc4c9b 100644
--- a/gdb/dummy-frame.c
+++ b/gdb/dummy-frame.c
@@ -417,8 +417,6 @@ maintenance_print_dummy_frames (char *args, int from_tty)
}
}
-extern void _initialize_dummy_frame (void);
-
void
_initialize_dummy_frame (void)
{
diff --git a/gdb/dwarf2-frame-tailcall.c b/gdb/dwarf2-frame-tailcall.c
index 310fc4d..b46bccd 100644
--- a/gdb/dwarf2-frame-tailcall.c
+++ b/gdb/dwarf2-frame-tailcall.c
@@ -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)
{
diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c
index aaf3aee..64ae586 100644
--- a/gdb/dwarf2-frame.c
+++ b/gdb/dwarf2-frame.c
@@ -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)
{
diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c
index a693856..e2724da 100644
--- a/gdb/dwarf2expr.c
+++ b/gdb/dwarf2expr.c
@@ -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)
{
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c
index 1a1b06a..ded9e00 100644
--- a/gdb/dwarf2loc.c
+++ b/gdb/dwarf2loc.c
@@ -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)
{
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 201a857..30b0fe8 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -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)
{
diff --git a/gdb/elfread.c b/gdb/elfread.c
index ae84e43..f3d4641 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -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;
diff --git a/gdb/exec.c b/gdb/exec.c
index 92c87e4..d20afdc 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -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;
diff --git a/gdb/extension.c b/gdb/extension.c
index cfbae2c..54ce4a2 100644
--- a/gdb/extension.c
+++ b/gdb/extension.c
@@ -1061,8 +1061,6 @@ ext_lang_before_prompt (const char *current_gdb_prompt)
}
}
-extern initialize_file_ftype _initialize_extension;
-
void
_initialize_extension (void)
{
diff --git a/gdb/f-lang.c b/gdb/f-lang.c
index 903cfd1..54f665d 100644
--- a/gdb/f-lang.c
+++ b/gdb/f-lang.c
@@ -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);
diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c
index 8fc894a..5bcab9d 100644
--- a/gdb/f-valprint.c
+++ b/gdb/f-valprint.c
@@ -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 *);
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index 80e0eca..5ad0dda 100644
--- a/gdb/fbsd-nat.c
+++ b/gdb/fbsd-nat.c
@@ -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)
{
diff --git a/gdb/fbsd-tdep.c b/gdb/fbsd-tdep.c
index 6f30197..1908269 100644
--- a/gdb/fbsd-tdep.c
+++ b/gdb/fbsd-tdep.c
@@ -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)
{
diff --git a/gdb/filesystem.c b/gdb/filesystem.c
index 1e42d83..624563a 100644
--- a/gdb/filesystem.c
+++ b/gdb/filesystem.c
@@ -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)
{
diff --git a/gdb/findcmd.c b/gdb/findcmd.c
index 9944aed..e35c224 100644
--- a/gdb/findcmd.c
+++ b/gdb/findcmd.c
@@ -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)
{
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index 60985d8..194aab5 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -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)
{
diff --git a/gdb/frame-base.c b/gdb/frame-base.c
index 4f7213d..ba438dc 100644
--- a/gdb/frame-base.c
+++ b/gdb/frame-base.c
@@ -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)
{
diff --git a/gdb/frame-unwind.c b/gdb/frame-unwind.c
index 3a75013..096631c 100644
--- a/gdb/frame-unwind.c
+++ b/gdb/frame-unwind.c
@@ -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)
{
diff --git a/gdb/frame.c b/gdb/frame.c
index 55d4ddb..f100da3 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -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;
diff --git a/gdb/frv-linux-tdep.c b/gdb/frv-linux-tdep.c
index cd02669..7974f75 100644
--- a/gdb/frv-linux-tdep.c
+++ b/gdb/frv-linux-tdep.c
@@ -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)
{
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c
index c0257bd..8a3a893 100644
--- a/gdb/frv-tdep.c
+++ b/gdb/frv-tdep.c
@@ -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
diff --git a/gdb/ft32-tdep.c b/gdb/ft32-tdep.c
index 5a7aea1..a988421 100644
--- a/gdb/ft32-tdep.c
+++ b/gdb/ft32-tdep.c
@@ -45,10 +45,6 @@
#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) };
diff --git a/gdb/gcore.c b/gdb/gcore.c
index 07c1997..69e5eb9 100644
--- a/gdb/gcore.c
+++ b/gdb/gcore.c
@@ -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)
{
diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c
index c0dc191..d80b3fb 100644
--- a/gdb/gdb_bfd.c
+++ b/gdb/gdb_bfd.c
@@ -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)
{
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 24521b5..5a84879 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -5479,8 +5479,6 @@ target_gdbarch (void)
return current_inferior ()->gdbarch;
}
-extern void _initialize_gdbarch (void);
-
void
_initialize_gdbarch (void)
{
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index 36451b1..026065e 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -2525,8 +2525,6 @@ target_gdbarch (void)
return current_inferior ()->gdbarch;
}
-extern void _initialize_gdbarch (void);
-
void
_initialize_gdbarch (void)
{
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index fc86225..37162d0 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -5368,8 +5368,6 @@ objfile_type (struct objfile *objfile)
return objfile_type;
}
-extern initialize_file_ftype _initialize_gdbtypes;
-
void
_initialize_gdbtypes (void)
{
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index d5e3841..d3726e7 100644
--- a/gdb/gnu-nat.c
+++ b/gdb/gnu-nat.c
@@ -3480,11 +3480,6 @@ to the thread's initial suspend-count when gdb notices the threads."),
&thread_cmd_list);
}
-
-
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_gnu_nat;
-
void
_initialize_gnu_nat (void)
{
diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c
index 91c4201..c25b230 100644
--- a/gdb/gnu-v2-abi.c
+++ b/gdb/gnu-v2-abi.c
@@ -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)
{
diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c
index f5d3d13..aad812b 100644
--- a/gdb/gnu-v3-abi.c
+++ b/gdb/gnu-v3-abi.c
@@ -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)
{
diff --git a/gdb/go-lang.c b/gdb/go-lang.c
index 60bb3c5..7441bb3 100644
--- a/gdb/go-lang.c
+++ b/gdb/go-lang.c
@@ -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)
{
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index 4e609a8..92f7381 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -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)
{
diff --git a/gdb/guile/guile.c b/gdb/guile/guile.c
index 0dadc3c..d6252d6 100644
--- a/gdb/guile/guile.c
+++ b/gdb/guile/guile.c
@@ -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)
{
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index 1e8bde1..7edc3cc 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -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)
{
diff --git a/gdb/hppa-linux-nat.c b/gdb/hppa-linux-nat.c
index c8eb93c..c190a4b 100644
--- a/gdb/hppa-linux-nat.c
+++ b/gdb/hppa-linux-nat.c
@@ -377,8 +377,6 @@ fill_fpregset (const struct regcache *regcache,
}
}
-void _initialize_hppa_linux_nat (void);
-
void
_initialize_hppa_linux_nat (void)
{
diff --git a/gdb/hppa-linux-tdep.c b/gdb/hppa-linux-tdep.c
index a560bbc..9fc06e8 100644
--- a/gdb/hppa-linux-tdep.c
+++ b/gdb/hppa-linux-tdep.c
@@ -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);
}
-
-
-/* Forward declarations. */
-extern initialize_file_ftype _initialize_hppa_linux_tdep;
static void
hppa_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
diff --git a/gdb/hppa-nbsd-nat.c b/gdb/hppa-nbsd-nat.c
index 54c776c..98ac409 100644
--- a/gdb/hppa-nbsd-nat.c
+++ b/gdb/hppa-nbsd-nat.c
@@ -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)
{
diff --git a/gdb/hppa-nbsd-tdep.c b/gdb/hppa-nbsd-tdep.c
index 1beea44..2401784 100644
--- a/gdb/hppa-nbsd-tdep.c
+++ b/gdb/hppa-nbsd-tdep.c
@@ -205,10 +205,6 @@ hppanbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
tramp_frame_prepend_unwinder (gdbarch, &hppanbsd_sigtramp_si4);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_hppanbsd_tdep;
void
_initialize_hppanbsd_tdep (void)
diff --git a/gdb/hppa-obsd-nat.c b/gdb/hppa-obsd-nat.c
index 7a255c9..bc7ef93 100644
--- a/gdb/hppa-obsd-nat.c
+++ b/gdb/hppa-obsd-nat.c
@@ -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)
{
diff --git a/gdb/hppa-obsd-tdep.c b/gdb/hppa-obsd-tdep.c
index 91a45c0..3e92ff9 100644
--- a/gdb/hppa-obsd-tdep.c
+++ b/gdb/hppa-obsd-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_hppabsd_tdep (void);
void
_initialize_hppabsd_tdep (void)
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 229b061..1a04588 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -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)
{
diff --git a/gdb/i386-bsd-nat.c b/gdb/i386-bsd-nat.c
index 1de6c78..791c292 100644
--- a/gdb/i386-bsd-nat.c
+++ b/gdb/i386-bsd-nat.c
@@ -280,10 +280,6 @@ i386bsd_target (void)
t->to_store_registers = i386bsd_store_inferior_registers;
return t;
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_i386bsd_nat (void);
void
_initialize_i386bsd_nat (void)
diff --git a/gdb/i386-cygwin-tdep.c b/gdb/i386-cygwin-tdep.c
index c8139ff..eb6e053 100644
--- a/gdb/i386-cygwin-tdep.c
+++ b/gdb/i386-cygwin-tdep.c
@@ -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)
{
diff --git a/gdb/i386-darwin-tdep.c b/gdb/i386-darwin-tdep.c
index 0c558cc..a888e10 100644
--- a/gdb/i386-darwin-tdep.c
+++ b/gdb/i386-darwin-tdep.c
@@ -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)
{
diff --git a/gdb/i386-dicos-tdep.c b/gdb/i386-dicos-tdep.c
index ff0018e..fba9c60 100644
--- a/gdb/i386-dicos-tdep.c
+++ b/gdb/i386-dicos-tdep.c
@@ -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)
{
diff --git a/gdb/i386-fbsd-nat.c b/gdb/i386-fbsd-nat.c
index 3b2ed31..53f58a7 100644
--- a/gdb/i386-fbsd-nat.c
+++ b/gdb/i386-fbsd-nat.c
@@ -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)
{
diff --git a/gdb/i386-fbsd-tdep.c b/gdb/i386-fbsd-tdep.c
index baca978..5a2c67e 100644
--- a/gdb/i386-fbsd-tdep.c
+++ b/gdb/i386-fbsd-tdep.c
@@ -417,10 +417,6 @@ i386fbsd4_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
i386fbsd_core_read_description);
}
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_i386fbsd_tdep (void);
-
void
_initialize_i386fbsd_tdep (void)
{
diff --git a/gdb/i386-gnu-nat.c b/gdb/i386-gnu-nat.c
index 3bce88a..07e3a83 100644
--- a/gdb/i386-gnu-nat.c
+++ b/gdb/i386-gnu-nat.c
@@ -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)
{
diff --git a/gdb/i386-gnu-tdep.c b/gdb/i386-gnu-tdep.c
index a5f53bc..f178ae0 100644
--- a/gdb/i386-gnu-tdep.c
+++ b/gdb/i386-gnu-tdep.c
@@ -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)
{
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
index b08470f..dd86c2f 100644
--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -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"));
}
-
-
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_i386_linux_nat;
void
_initialize_i386_linux_nat (void)
diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c
index 3e2bee9..87a9598 100644
--- a/gdb/i386-linux-tdep.c
+++ b/gdb/i386-linux-tdep.c
@@ -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)
{
diff --git a/gdb/i386-nbsd-nat.c b/gdb/i386-nbsd-nat.c
index 3d40ad2..f862c68 100644
--- a/gdb/i386-nbsd-nat.c
+++ b/gdb/i386-nbsd-nat.c
@@ -70,10 +70,6 @@ i386nbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
return 1;
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_i386nbsd_nat (void);
void
_initialize_i386nbsd_nat (void)
diff --git a/gdb/i386-nbsd-tdep.c b/gdb/i386-nbsd-tdep.c
index 7a3b0a4..263cb99 100644
--- a/gdb/i386-nbsd-tdep.c
+++ b/gdb/i386-nbsd-tdep.c
@@ -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)
{
diff --git a/gdb/i386-nto-tdep.c b/gdb/i386-nto-tdep.c
index 3fe715f..5f0b886 100644
--- a/gdb/i386-nto-tdep.c
+++ b/gdb/i386-nto-tdep.c
@@ -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)
{
diff --git a/gdb/i386-obsd-nat.c b/gdb/i386-obsd-nat.c
index ddff122..76079af 100644
--- a/gdb/i386-obsd-nat.c
+++ b/gdb/i386-obsd-nat.c
@@ -87,10 +87,6 @@ i386obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
return 1;
}
-
-
-/* Prevent warning from -Wmissing-prototypes. */
-void _initialize_i386obsd_nat (void);
void
_initialize_i386obsd_nat (void)
diff --git a/gdb/i386-obsd-tdep.c b/gdb/i386-obsd-tdep.c
index 22375c5..5dfda15 100644
--- a/gdb/i386-obsd-tdep.c
+++ b/gdb/i386-obsd-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_i386obsd_tdep (void);
void
_initialize_i386obsd_tdep (void)
diff --git a/gdb/i386-sol2-nat.c b/gdb/i386-sol2-nat.c
index 873050e..0c5d03f 100644
--- a/gdb/i386-sol2-nat.c
+++ b/gdb/i386-sol2-nat.c
@@ -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)
{
diff --git a/gdb/i386-sol2-tdep.c b/gdb/i386-sol2-tdep.c
index 356d56e..cfa336e 100644
--- a/gdb/i386-sol2-tdep.c
+++ b/gdb/i386-sol2-tdep.c
@@ -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)
{
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 7401139..eefa03a 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -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)
{
diff --git a/gdb/i386-windows-nat.c b/gdb/i386-windows-nat.c
index 7339e4e..2a309c3 100644
--- a/gdb/i386-windows-nat.c
+++ b/gdb/i386-windows-nat.c
@@ -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)
{
diff --git a/gdb/ia64-libunwind-tdep.c b/gdb/ia64-libunwind-tdep.c
index 025c870..62b5bb3 100644
--- a/gdb/ia64-libunwind-tdep.c
+++ b/gdb/ia64-libunwind-tdep.c
@@ -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)
{
diff --git a/gdb/ia64-linux-nat.c b/gdb/ia64-linux-nat.c
index a532b98..14b6843 100644
--- a/gdb/ia64-linux-nat.c
+++ b/gdb/ia64-linux-nat.c
@@ -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)
{
diff --git a/gdb/ia64-linux-tdep.c b/gdb/ia64-linux-tdep.c
index 3f914de..c08d494 100644
--- a/gdb/ia64-linux-tdep.c
+++ b/gdb/ia64-linux-tdep.c
@@ -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)
{
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c
index 5a16db1..5fc32a8 100644
--- a/gdb/ia64-tdep.c
+++ b/gdb/ia64-tdep.c
@@ -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)
{
diff --git a/gdb/ia64-vms-tdep.c b/gdb/ia64-vms-tdep.c
index fa22cf7..f47cf0a 100644
--- a/gdb/ia64-vms-tdep.c
+++ b/gdb/ia64-vms-tdep.c
@@ -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)
{
diff --git a/gdb/infcall.c b/gdb/infcall.c
index cd3eedf..5df04e3 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -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");
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_infcall (void);
void
_initialize_infcall (void)
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 3b7178c..25cf025 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -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."));
diff --git a/gdb/inferior.c b/gdb/inferior.c
index a20c6c5..b916909 100644
--- a/gdb/inferior.c
+++ b/gdb/inferior.c
@@ -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. */
diff --git a/gdb/inflow.c b/gdb/inflow.c
index 41a2251..0e8c0f3 100644
--- a/gdb/inflow.c
+++ b/gdb/inflow.c
@@ -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);
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 1e301d3..3f2ac85 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -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 *);
diff --git a/gdb/interps.c b/gdb/interps.c
index 1e59034..19694ff 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -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);
diff --git a/gdb/iq2000-tdep.c b/gdb/iq2000-tdep.c
index 99824b7..deafaaa 100644
--- a/gdb/iq2000-tdep.c
+++ b/gdb/iq2000-tdep.c
@@ -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)
{
diff --git a/gdb/jit.c b/gdb/jit.c
index 725d41e..72eed50 100644
--- 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)
{
diff --git a/gdb/language.c b/gdb/language.c
index 073039e..7f870d8 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -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 *);
diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c
index 16403c9..22a11c6 100644
--- a/gdb/linux-fork.c
+++ b/gdb/linux-fork.c
@@ -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
{
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 4124318..89e0c62 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -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)
{
diff --git a/gdb/linux-tdep.c b/gdb/linux-tdep.c
index eb44659..61ea13c 100644
--- a/gdb/linux-tdep.c
+++ b/gdb/linux-tdep.c
@@ -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)
{
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c
index 6d98135..6567e93 100644
--- a/gdb/linux-thread-db.c
+++ b/gdb/linux-thread-db.c
@@ -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)
{
diff --git a/gdb/lm32-tdep.c b/gdb/lm32-tdep.c
index 1ca6c08..24bc5c2 100644
--- a/gdb/lm32-tdep.c
+++ b/gdb/lm32-tdep.c
@@ -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)
{
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c
index b9ab2b3..ddd50af 100644
--- a/gdb/m2-lang.c
+++ b/gdb/m2-lang.c
@@ -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);
diff --git a/gdb/m32c-tdep.c b/gdb/m32c-tdep.c
index 1bc5950..7359141 100644
--- a/gdb/m32c-tdep.c
+++ b/gdb/m32c-tdep.c
@@ -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)
{
diff --git a/gdb/m32r-linux-nat.c b/gdb/m32r-linux-nat.c
index a33de23..65d85e1 100644
--- a/gdb/m32r-linux-nat.c
+++ b/gdb/m32r-linux-nat.c
@@ -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)
{
diff --git a/gdb/m32r-linux-tdep.c b/gdb/m32r-linux-tdep.c
index f72dccd..c61f2e3 100644
--- a/gdb/m32r-linux-tdep.c
+++ b/gdb/m32r-linux-tdep.c
@@ -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)
{
diff --git a/gdb/m32r-tdep.c b/gdb/m32r-tdep.c
index 28017b6..d40c390 100644
--- a/gdb/m32r-tdep.c
+++ b/gdb/m32r-tdep.c
@@ -44,8 +44,6 @@
/* Local functions */
-extern void _initialize_m32r_tdep (void);
-
static CORE_ADDR
m32r_frame_align (struct gdbarch *gdbarch, CORE_ADDR sp)
{
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c
index b0b97b2..b144d8b 100644
--- a/gdb/m68hc11-tdep.c
+++ b/gdb/m68hc11-tdep.c
@@ -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)
{
diff --git a/gdb/m68k-bsd-nat.c b/gdb/m68k-bsd-nat.c
index e0aee05..bdd00b9 100644
--- a/gdb/m68k-bsd-nat.c
+++ b/gdb/m68k-bsd-nat.c
@@ -215,10 +215,6 @@ m68kbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
return 1;
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_m68kbsd_nat (void);
void
_initialize_m68kbsd_nat (void)
diff --git a/gdb/m68k-bsd-tdep.c b/gdb/m68k-bsd-tdep.c
index 45f4396..6b7cb3c 100644
--- a/gdb/m68k-bsd-tdep.c
+++ b/gdb/m68k-bsd-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_m68kbsd_tdep (void);
void
_initialize_m68kbsd_tdep (void)
diff --git a/gdb/m68k-linux-nat.c b/gdb/m68k-linux-nat.c
index eb14375..0915cbe 100644
--- a/gdb/m68k-linux-nat.c
+++ b/gdb/m68k-linux-nat.c
@@ -505,9 +505,6 @@ ps_get_thread_area (struct ps_prochandle *ph,
return PS_OK;
}
-
-
-void _initialize_m68k_linux_nat (void);
void
_initialize_m68k_linux_nat (void)
diff --git a/gdb/m68k-linux-tdep.c b/gdb/m68k-linux-tdep.c
index 4e6221e..fa0848f 100644
--- a/gdb/m68k-linux-tdep.c
+++ b/gdb/m68k-linux-tdep.c
@@ -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)
{
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c
index 619a40b..afd8678 100644
--- a/gdb/m68k-tdep.c
+++ b/gdb/m68k-tdep.c
@@ -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)
{
diff --git a/gdb/m88k-bsd-nat.c b/gdb/m88k-bsd-nat.c
index 9549b8d..4a3e32e 100644
--- a/gdb/m88k-bsd-nat.c
+++ b/gdb/m88k-bsd-nat.c
@@ -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"));
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_m88kbsd_nat (void);
void
_initialize_m88kbsd_nat (void)
diff --git a/gdb/m88k-tdep.c b/gdb/m88k-tdep.c
index d08a913..9f1688a 100644
--- a/gdb/m88k-tdep.c
+++ b/gdb/m88k-tdep.c
@@ -861,10 +861,6 @@ m88k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
return gdbarch;
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_m88k_tdep (void);
void
_initialize_m88k_tdep (void)
diff --git a/gdb/machoread.c b/gdb/machoread.c
index 1c317ed..e1833e2 100644
--- a/gdb/machoread.c
+++ b/gdb/machoread.c
@@ -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)
{
diff --git a/gdb/macrocmd.c b/gdb/macrocmd.c
index cb6c38c..957c479 100644
--- a/gdb/macrocmd.c
+++ b/gdb/macrocmd.c
@@ -481,11 +481,8 @@ macro_list_command (char *exp, int from_tty)
macro_for_each (macro_user_macros, print_one_macro);
}
-
/* Initializing the `macrocmd' module. */
-extern initialize_file_ftype _initialize_macrocmd; /* -Wmissing-prototypes */
-
void
_initialize_macrocmd (void)
{
diff --git a/gdb/macroscope.c b/gdb/macroscope.c
index a3a9c9c..481775f 100644
--- a/gdb/macroscope.c
+++ b/gdb/macroscope.c
@@ -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)
{
diff --git a/gdb/maint.c b/gdb/maint.c
index 28f7287..6dd6e8b 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -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);
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 8e27194..d994216 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -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
diff --git a/gdb/memattr.c b/gdb/memattr.c
index 8604e53..c1ac978 100644
--- a/gdb/memattr.c
+++ b/gdb/memattr.c
@@ -687,8 +687,6 @@ static void
dummy_cmd (char *args, int from_tty)
{
}
-
-extern initialize_file_ftype _initialize_mem; /* -Wmissing-prototype */
static struct cmd_list_element *mem_set_cmdlist;
static struct cmd_list_element *mem_show_cmdlist;
diff --git a/gdb/mep-tdep.c b/gdb/mep-tdep.c
index 7e9b855..fffd405 100644
--- a/gdb/mep-tdep.c
+++ b/gdb/mep-tdep.c
@@ -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)
{
diff --git a/gdb/mi/mi-cmd-env.c b/gdb/mi/mi-cmd-env.c
index f24f387..977b6e2 100644
--- a/gdb/mi/mi-cmd-env.c
+++ b/gdb/mi/mi-cmd-env.c
@@ -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;
diff --git a/gdb/mi/mi-cmds.c b/gdb/mi/mi-cmds.c
index b7494ce..18f6653e 100644
--- a/gdb/mi/mi-cmds.c
+++ b/gdb/mi/mi-cmds.c
@@ -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);
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index 6b6d8f0..ca8ff14 100644
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -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)
{
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index c485544..8e3684a 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -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,
diff --git a/gdb/microblaze-linux-tdep.c b/gdb/microblaze-linux-tdep.c
index 54e7ad1..285eefe 100644
--- a/gdb/microblaze-linux-tdep.c
+++ b/gdb/microblaze-linux-tdep.c
@@ -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)
{
diff --git a/gdb/microblaze-tdep.c b/gdb/microblaze-tdep.c
index 55c7715..7547581 100644
--- a/gdb/microblaze-tdep.c
+++ b/gdb/microblaze-tdep.c
@@ -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)
{
diff --git a/gdb/mips-fbsd-nat.c b/gdb/mips-fbsd-nat.c
index c381186..f86d447 100644
--- a/gdb/mips-fbsd-nat.c
+++ b/gdb/mips-fbsd-nat.c
@@ -119,10 +119,6 @@ mips_fbsd_store_inferior_registers (struct target_ops *ops,
perror_with_name (_("Couldn't write floating point status"));
}
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_mips_fbsd_nat (void);
void
_initialize_mips_fbsd_nat (void)
diff --git a/gdb/mips-fbsd-tdep.c b/gdb/mips-fbsd-tdep.c
index feb18e1..05545e3 100644
--- a/gdb/mips-fbsd-tdep.c
+++ b/gdb/mips-fbsd-tdep.c
@@ -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));
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_mips_fbsd_tdep (void);
void
_initialize_mips_fbsd_tdep (void)
diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
index 1fd3365..a86963d 100644
--- a/gdb/mips-linux-nat.c
+++ b/gdb/mips-linux-nat.c
@@ -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)
{
diff --git a/gdb/mips-linux-tdep.c b/gdb/mips-linux-tdep.c
index 001fd40..20d9001 100644
--- a/gdb/mips-linux-tdep.c
+++ b/gdb/mips-linux-tdep.c
@@ -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)
{
diff --git a/gdb/mips-nbsd-nat.c b/gdb/mips-nbsd-nat.c
index 41e67b7..c6e9828 100644
--- a/gdb/mips-nbsd-nat.c
+++ b/gdb/mips-nbsd-nat.c
@@ -106,10 +106,6 @@ mipsnbsd_store_inferior_registers (struct target_ops *ops,
perror_with_name (_("Couldn't write floating point status"));
}
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_mipsnbsd_nat (void);
void
_initialize_mipsnbsd_nat (void)
diff --git a/gdb/mips-nbsd-tdep.c b/gdb/mips-nbsd-tdep.c
index 352346b..222ba54 100644
--- a/gdb/mips-nbsd-tdep.c
+++ b/gdb/mips-nbsd-tdep.c
@@ -372,10 +372,6 @@ mipsnbsd_init_abi (struct gdbarch_info info,
mipsnbsd_ilp32_fetch_link_map_offsets :
mipsnbsd_lp64_fetch_link_map_offsets));
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_mipsnbsd_tdep;
void
_initialize_mipsnbsd_tdep (void)
diff --git a/gdb/mips-sde-tdep.c b/gdb/mips-sde-tdep.c
index 286ff1b..e133425 100644
--- a/gdb/mips-sde-tdep.c
+++ b/gdb/mips-sde-tdep.c
@@ -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)
{
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 75e45ef..9cde2f4 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -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)
{
diff --git a/gdb/mips64-obsd-nat.c b/gdb/mips64-obsd-nat.c
index d32af80..2e16cb3 100644
--- a/gdb/mips64-obsd-nat.c
+++ b/gdb/mips64-obsd-nat.c
@@ -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"));
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_mips64obsd_nat (void);
void
_initialize_mips64obsd_nat (void)
diff --git a/gdb/mips64-obsd-tdep.c b/gdb/mips64-obsd-tdep.c
index 487a8e5..2d34db8 100644
--- a/gdb/mips64-obsd-tdep.c
+++ b/gdb/mips64-obsd-tdep.c
@@ -158,10 +158,6 @@ mips64obsd_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_mips64obsd_tdep (void);
-
void
_initialize_mips64obsd_tdep (void)
{
diff --git a/gdb/mipsread.c b/gdb/mipsread.c
index f2afe99..1a28a8e 100644
--- a/gdb/mipsread.c
+++ b/gdb/mipsread.c
@@ -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)
{
diff --git a/gdb/mn10300-linux-tdep.c b/gdb/mn10300-linux-tdep.c
index 44707e8..1ffcfca 100644
--- a/gdb/mn10300-linux-tdep.c
+++ b/gdb/mn10300-linux-tdep.c
@@ -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)
{
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c
index 669bfa1..7b21e4f 100644
--- a/gdb/mn10300-tdep.c
+++ b/gdb/mn10300-tdep.c
@@ -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)
{
diff --git a/gdb/moxie-tdep.c b/gdb/moxie-tdep.c
index 4cd3bcd..81b1976 100644
--- a/gdb/moxie-tdep.c
+++ b/gdb/moxie-tdep.c
@@ -41,10 +41,6 @@
#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 };
diff --git a/gdb/msp430-tdep.c b/gdb/msp430-tdep.c
index 7debe25..d74be1d 100644
--- a/gdb/msp430-tdep.c
+++ b/gdb/msp430-tdep.c
@@ -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
diff --git a/gdb/mt-tdep.c b/gdb/mt-tdep.c
index 2ab6c02..e3ea322 100644
--- a/gdb/mt-tdep.c
+++ b/gdb/mt-tdep.c
@@ -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)
{
diff --git a/gdb/nds32-tdep.c b/gdb/nds32-tdep.c
index 7725248..962b2e7 100644
--- a/gdb/nds32-tdep.c
+++ b/gdb/nds32-tdep.c
@@ -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 };
diff --git a/gdb/nios2-linux-tdep.c b/gdb/nios2-linux-tdep.c
index d3a9e2e..8cada54 100644
--- a/gdb/nios2-linux-tdep.c
+++ b/gdb/nios2-linux-tdep.c
@@ -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)
{
diff --git a/gdb/nios2-tdep.c b/gdb/nios2-tdep.c
index 905d859..4ad49ae 100644
--- a/gdb/nios2-tdep.c
+++ b/gdb/nios2-tdep.c
@@ -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)
{
diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c
index 7fb7095..a6fe390 100644
--- a/gdb/nto-procfs.c
+++ b/gdb/nto-procfs.c
@@ -1533,8 +1533,6 @@ init_procfs_targets (void)
#define OSTYPE_NTO 1
-extern initialize_file_ftype _initialize_procfs;
-
void
_initialize_procfs (void)
{
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c
index 0b53c4b..27bd191 100644
--- a/gdb/nto-tdep.c
+++ b/gdb/nto-tdep.c
@@ -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)
{
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c
index 624310e..dc9c934 100644
--- a/gdb/objc-lang.c
+++ b/gdb/objc-lang.c
@@ -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)
{
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 96634b3..e743834 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -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)
{
diff --git a/gdb/observer.c b/gdb/observer.c
index 634c29e..c461cda 100644
--- a/gdb/observer.c
+++ b/gdb/observer.c
@@ -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)
{
diff --git a/gdb/opencl-lang.c b/gdb/opencl-lang.c
index 9b0f015..a9c9a34 100644
--- a/gdb/opencl-lang.c
+++ b/gdb/opencl-lang.c
@@ -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)
{
diff --git a/gdb/osabi.c b/gdb/osabi.c
index 84fa9c0..b4850bc 100644
--- a/gdb/osabi.c
+++ b/gdb/osabi.c
@@ -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));
}
-
-extern initialize_file_ftype _initialize_gdb_osabi; /* -Wmissing-prototype */
void
_initialize_gdb_osabi (void)
diff --git a/gdb/osdata.c b/gdb/osdata.c
index 5458e2f..9da3d07 100644
--- a/gdb/osdata.c
+++ b/gdb/osdata.c
@@ -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)
{
diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c
index 2c80233..1cd69cc 100644
--- a/gdb/p-valprint.c
+++ b/gdb/p-valprint.c
@@ -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)
{
diff --git a/gdb/parse.c b/gdb/parse.c
index fb0dff2..6bbf25f 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -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. */
diff --git a/gdb/ppc-fbsd-nat.c b/gdb/ppc-fbsd-nat.c
index ae5877a..df8de14 100644
--- a/gdb/ppc-fbsd-nat.c
+++ b/gdb/ppc-fbsd-nat.c
@@ -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)
{
diff --git a/gdb/ppc-fbsd-tdep.c b/gdb/ppc-fbsd-tdep.c
index 18be8cd..05365cb 100644
--- a/gdb/ppc-fbsd-tdep.c
+++ b/gdb/ppc-fbsd-tdep.c
@@ -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)
{
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c
index 40ea589..45c8903 100644
--- a/gdb/ppc-linux-nat.c
+++ b/gdb/ppc-linux-nat.c
@@ -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)
{
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c
index 324b29d..b6e5362 100644
--- a/gdb/ppc-linux-tdep.c
+++ b/gdb/ppc-linux-tdep.c
@@ -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)
{
diff --git a/gdb/ppc-nbsd-nat.c b/gdb/ppc-nbsd-nat.c
index b170583..98a8a7c 100644
--- a/gdb/ppc-nbsd-nat.c
+++ b/gdb/ppc-nbsd-nat.c
@@ -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)
{
diff --git a/gdb/ppc-nbsd-tdep.c b/gdb/ppc-nbsd-tdep.c
index 2c03f97..f2840da 100644
--- a/gdb/ppc-nbsd-tdep.c
+++ b/gdb/ppc-nbsd-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_ppcnbsd_tdep (void);
void
_initialize_ppcnbsd_tdep (void)
diff --git a/gdb/ppc-obsd-nat.c b/gdb/ppc-obsd-nat.c
index 20360f5..60f6a4f 100644
--- a/gdb/ppc-obsd-nat.c
+++ b/gdb/ppc-obsd-nat.c
@@ -180,10 +180,6 @@ ppcobsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
return 1;
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_ppcobsd_nat (void);
void
_initialize_ppcobsd_nat (void)
diff --git a/gdb/ppc-obsd-tdep.c b/gdb/ppc-obsd-tdep.c
index 7188ce1..821a4ba 100644
--- a/gdb/ppc-obsd-tdep.c
+++ b/gdb/ppc-obsd-tdep.c
@@ -260,10 +260,6 @@ ppcobsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
frame_unwind_append_unwinder (gdbarch, &ppcobsd_sigtramp_frame_unwind);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_ppcobsd_tdep (void);
void
_initialize_ppcobsd_tdep (void)
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 6206d8d..a7d5762 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -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 *);
diff --git a/gdb/probe.c b/gdb/probe.c
index ce28361..8a0689d 100644
--- a/gdb/probe.c
+++ b/gdb/probe.c
@@ -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)
{
diff --git a/gdb/proc-api.c b/gdb/proc-api.c
index dd9af0d..2198b26 100644
--- a/gdb/proc-api.c
+++ b/gdb/proc-api.c
@@ -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)
{
diff --git a/gdb/proc-events.c b/gdb/proc-events.c
index 961d626..9d3233e 100644
--- a/gdb/proc-events.c
+++ b/gdb/proc-events.c
@@ -1716,10 +1716,6 @@ void
proc_prettyprint_actionset (struct sigaction *actions, int verbose)
{
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_proc_events (void);
void
_initialize_proc_events (void)
diff --git a/gdb/proc-service.c b/gdb/proc-service.c
index 1e5433c..4620fea 100644
--- a/gdb/proc-service.c
+++ b/gdb/proc-service.c
@@ -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)
{
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 504d74c..7344304 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -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)
{
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index 4cbf91c..ea300fe 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -2245,10 +2245,6 @@ maintenance_check_psymtabs (char *ignore, int from_tty)
}
}
-
-
-extern initialize_file_ftype _initialize_psymtab;
-
void
_initialize_psymtab (void)
{
diff --git a/gdb/python/python.c b/gdb/python/python.c
index f40fe89..b086cef 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -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 ()
diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c
index 1f89ea2..1f93e3d 100644
--- a/gdb/ravenscar-thread.c
+++ b/gdb/ravenscar-thread.c
@@ -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. */
diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c
index 220b33c..783e5a1 100644
--- a/gdb/record-btrace.c
+++ b/gdb/record-btrace.c
@@ -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
diff --git a/gdb/record-full.c b/gdb/record-full.c
index 7f6ecc7..d3cf789 100644
--- a/gdb/record-full.c
+++ b/gdb/record-full.c
@@ -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)
{
diff --git a/gdb/record.c b/gdb/record.c
index 9ee3560..7eef827 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -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)
{
diff --git a/gdb/regcache.c b/gdb/regcache.c
index dcbcedd..63d70d7 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -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)
{
diff --git a/gdb/reggroups.c b/gdb/reggroups.c
index ae7d4ce..512fe11 100644
--- a/gdb/reggroups.c
+++ b/gdb/reggroups.c
@@ -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)
{
diff --git a/gdb/remote-notif.c b/gdb/remote-notif.c
index b5acc46..3952161 100644
--- a/gdb/remote-notif.c
+++ b/gdb/remote-notif.c
@@ -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)
{
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index ca824d7..48fa503 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -44,8 +44,6 @@
/* Prototypes */
-extern void _initialize_remote_sim (void);
-
static void init_callbacks (void);
static void end_callbacks (void);
diff --git a/gdb/remote.c b/gdb/remote.c
index abeef0d..0963693 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -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 *);
diff --git a/gdb/reverse.c b/gdb/reverse.c
index c3c20fb..80e414a 100644
--- a/gdb/reverse.c
+++ b/gdb/reverse.c
@@ -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)
{
diff --git a/gdb/rl78-tdep.c b/gdb/rl78-tdep.c
index 5775f96..56abe28 100644
--- a/gdb/rl78-tdep.c
+++ b/gdb/rl78-tdep.c
@@ -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
diff --git a/gdb/rs6000-aix-tdep.c b/gdb/rs6000-aix-tdep.c
index e9b3f10..f4f3eb7 100644
--- a/gdb/rs6000-aix-tdep.c
+++ b/gdb/rs6000-aix-tdep.c
@@ -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)
{
diff --git a/gdb/rs6000-lynx178-tdep.c b/gdb/rs6000-lynx178-tdep.c
index d72a619..18f1802 100644
--- a/gdb/rs6000-lynx178-tdep.c
+++ b/gdb/rs6000-lynx178-tdep.c
@@ -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)
{
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index 833cf01..af9273a 100644
--- a/gdb/rs6000-nat.c
+++ b/gdb/rs6000-nat.c
@@ -655,8 +655,6 @@ rs6000_xfer_shared_libraries
}
}
-void _initialize_rs6000_nat (void);
-
void
_initialize_rs6000_nat (void)
{
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 59d6896..95b2ca7 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -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)
{
diff --git a/gdb/rust-exp.y b/gdb/rust-exp.y
index 4cb3aa2..5d99994 100644
--- a/gdb/rust-exp.y
+++ b/gdb/rust-exp.y
@@ -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;
diff --git a/gdb/rx-tdep.c b/gdb/rx-tdep.c
index cfd1856..d1bc0b2 100644
--- a/gdb/rx-tdep.c
+++ b/gdb/rx-tdep.c
@@ -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
diff --git a/gdb/s390-linux-nat.c b/gdb/s390-linux-nat.c
index 90c73c4..b395529 100644
--- a/gdb/s390-linux-nat.c
+++ b/gdb/s390-linux-nat.c
@@ -1002,8 +1002,6 @@ s390_read_description (struct target_ops *ops)
tdesc_s390_linux32);
}
-void _initialize_s390_nat (void);
-
void
_initialize_s390_nat (void)
{
diff --git a/gdb/s390-linux-tdep.c b/gdb/s390-linux-tdep.c
index 5682c4a..a6882fb 100644
--- a/gdb/s390-linux-tdep.c
+++ b/gdb/s390-linux-tdep.c
@@ -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)
{
diff --git a/gdb/score-tdep.c b/gdb/score-tdep.c
index d231674..5b68a2b 100644
--- a/gdb/score-tdep.c
+++ b/gdb/score-tdep.c
@@ -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)
{
diff --git a/gdb/selftest-arch.c b/gdb/selftest-arch.c
index 9a19f76..522b1da 100644
--- a/gdb/selftest-arch.c
+++ b/gdb/selftest-arch.c
@@ -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 ()
{
diff --git a/gdb/ser-go32.c b/gdb/ser-go32.c
index 41503ac..e352895 100644
--- a/gdb/ser-go32.c
+++ b/gdb/ser-go32.c
@@ -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)
{
diff --git a/gdb/ser-mingw.c b/gdb/ser-mingw.c
index 0b78ba1..33e4df3 100644
--- a/gdb/ser-mingw.c
+++ b/gdb/ser-mingw.c
@@ -31,8 +31,6 @@
#include "command.h"
-void _initialize_ser_windows (void);
-
struct ser_windows_state
{
int in_progress;
diff --git a/gdb/ser-pipe.c b/gdb/ser-pipe.c
index ae989a0..cb94242 100644
--- a/gdb/ser-pipe.c
+++ b/gdb/ser-pipe.c
@@ -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;
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index 57a7c55..f35991c 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -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;
diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c
index 54b0b75..53c33e6 100644
--- a/gdb/ser-unix.c
+++ b/gdb/ser-unix.c
@@ -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
diff --git a/gdb/serial.c b/gdb/serial.c
index b48b977..01294d1 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -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;
diff --git a/gdb/sh-linux-tdep.c b/gdb/sh-linux-tdep.c
index c5c745d..b70f996 100644
--- a/gdb/sh-linux-tdep.c
+++ b/gdb/sh-linux-tdep.c
@@ -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)
{
diff --git a/gdb/sh-nbsd-nat.c b/gdb/sh-nbsd-nat.c
index ac93dcd..7cf7a99 100644
--- a/gdb/sh-nbsd-nat.c
+++ b/gdb/sh-nbsd-nat.c
@@ -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)
{
diff --git a/gdb/sh-nbsd-tdep.c b/gdb/sh-nbsd-tdep.c
index 6fe7763..4a335de 100644
--- a/gdb/sh-nbsd-tdep.c
+++ b/gdb/sh-nbsd-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_shnbsd_tdep;
void
_initialize_shnbsd_tdep (void)
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index a87547d..a413daa 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -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)
{
diff --git a/gdb/skip.c b/gdb/skip.c
index bd9eec9..8db0cd5 100644
--- a/gdb/skip.c
+++ b/gdb/skip.c
@@ -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)
{
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index c4d4b02..d493f7b 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -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)
{
diff --git a/gdb/solib-aix.c b/gdb/solib-aix.c
index d0f5e96..633c9e6 100644
--- a/gdb/solib-aix.c
+++ b/gdb/solib-aix.c
@@ -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)
{
diff --git a/gdb/solib-darwin.c b/gdb/solib-darwin.c
index c2b776d..04bbf86 100644
--- a/gdb/solib-darwin.c
+++ b/gdb/solib-darwin.c
@@ -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)
{
diff --git a/gdb/solib-dsbt.c b/gdb/solib-dsbt.c
index facbd93..86b9e30 100644
--- a/gdb/solib-dsbt.c
+++ b/gdb/solib-dsbt.c
@@ -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)
{
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c
index f0265e3..6d74652 100644
--- a/gdb/solib-frv.c
+++ b/gdb/solib-frv.c
@@ -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)
{
diff --git a/gdb/solib-spu.c b/gdb/solib-spu.c
index e6eab63..886322d 100644
--- a/gdb/solib-spu.c
+++ b/gdb/solib-spu.c
@@ -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)
{
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index f99e2e2..405de37 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -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)
{
diff --git a/gdb/solib-target.c b/gdb/solib-target.c
index 71a0da3..dcd0f85 100644
--- a/gdb/solib-target.c
+++ b/gdb/solib-target.c
@@ -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)
{
diff --git a/gdb/solib.c b/gdb/solib.c
index c8fe4d2..0684297 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -1600,8 +1600,6 @@ remove_user_added_objfile (struct objfile *objfile)
}
}
-extern initialize_file_ftype _initialize_solib; /* -Wmissing-prototypes */
-
void
_initialize_solib (void)
{
diff --git a/gdb/source.c b/gdb/source.c
index bac4045..0564c158 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -48,10 +48,6 @@
#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 **);
diff --git a/gdb/sparc-linux-nat.c b/gdb/sparc-linux-nat.c
index bdaf8dc..6fcef48 100644
--- a/gdb/sparc-linux-nat.c
+++ b/gdb/sparc-linux-nat.c
@@ -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)
{
diff --git a/gdb/sparc-linux-tdep.c b/gdb/sparc-linux-tdep.c
index 52cfeda..6ed717a 100644
--- a/gdb/sparc-linux-tdep.c
+++ b/gdb/sparc-linux-tdep.c
@@ -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)
{
diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c
index b842f2b..fe9dca3 100644
--- a/gdb/sparc-nat.c
+++ b/gdb/sparc-nat.c
@@ -338,10 +338,6 @@ sparc_target (void)
return t;
}
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_sparc_nat (void);
-
void
_initialize_sparc_nat (void)
{
diff --git a/gdb/sparc-nbsd-nat.c b/gdb/sparc-nbsd-nat.c
index af7f33f..69987cf 100644
--- a/gdb/sparc-nbsd-nat.c
+++ b/gdb/sparc-nbsd-nat.c
@@ -54,10 +54,6 @@ sparc32nbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
return 1;
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_sparcnbsd_nat (void);
void
_initialize_sparcnbsd_nat (void)
diff --git a/gdb/sparc-nbsd-tdep.c b/gdb/sparc-nbsd-tdep.c
index f9e5bef..d6a06b1 100644
--- a/gdb/sparc-nbsd-tdep.c
+++ b/gdb/sparc-nbsd-tdep.c
@@ -314,10 +314,6 @@ sparc32nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
}
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_sparcnbsd_tdep (void);
-
void
_initialize_sparcnbsd_tdep (void)
{
diff --git a/gdb/sparc-obsd-tdep.c b/gdb/sparc-obsd-tdep.c
index b7d3d3c..fbe5aab 100644
--- a/gdb/sparc-obsd-tdep.c
+++ b/gdb/sparc-obsd-tdep.c
@@ -246,10 +246,6 @@ sparc32obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
bsd_uthread_set_collect_uthread (gdbarch, sparc32obsd_collect_uthread);
}
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_sparc32obsd_tdep (void);
-
void
_initialize_sparc32obsd_tdep (void)
{
diff --git a/gdb/sparc-sol2-nat.c b/gdb/sparc-sol2-nat.c
index 4c79688..cf80dd9 100644
--- a/gdb/sparc-sol2-nat.c
+++ b/gdb/sparc-sol2-nat.c
@@ -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)
{
diff --git a/gdb/sparc-sol2-tdep.c b/gdb/sparc-sol2-tdep.c
index d9f92d1..ed53ac3 100644
--- a/gdb/sparc-sol2-tdep.c
+++ b/gdb/sparc-sol2-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_sparc_sol2_tdep (void);
void
_initialize_sparc_sol2_tdep (void)
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index 1f08865..949c501 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -2253,10 +2253,6 @@ const struct sparc_fpregmap sparc32_bsd_fpregmap =
0 * 4, /* %f0 */
32 * 4, /* %fsr */
};
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_sparc_tdep (void);
void
_initialize_sparc_tdep (void)
diff --git a/gdb/sparc64-fbsd-nat.c b/gdb/sparc64-fbsd-nat.c
index d799a96..8fc8b31 100644
--- a/gdb/sparc64-fbsd-nat.c
+++ b/gdb/sparc64-fbsd-nat.c
@@ -58,10 +58,6 @@ sparc64fbsd_kvm_supply_pcb (struct regcache *regcache, struct pcb *pcb)
return 1;
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_sparc64fbsd_nat (void);
void
_initialize_sparc64fbsd_nat (void)
diff --git a/gdb/sparc64-fbsd-tdep.c b/gdb/sparc64-fbsd-tdep.c
index 29d2f95..031da5b 100644
--- a/gdb/sparc64-fbsd-tdep.c
+++ b/gdb/sparc64-fbsd-tdep.c
@@ -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)
{
diff --git a/gdb/sparc64-linux-nat.c b/gdb/sparc64-linux-nat.c
index 282980a..204a909 100644
--- a/gdb/sparc64-linux-nat.c
+++ b/gdb/sparc64-linux-nat.c
@@ -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)
{
diff --git a/gdb/sparc64-linux-tdep.c b/gdb/sparc64-linux-tdep.c
index 2da978f..8c61072 100644
--- a/gdb/sparc64-linux-tdep.c
+++ b/gdb/sparc64-linux-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern void _initialize_sparc64_linux_tdep (void);
void
_initialize_sparc64_linux_tdep (void)
diff --git a/gdb/sparc64-nat.c b/gdb/sparc64-nat.c
index 444300f..d7d5ae1 100644
--- a/gdb/sparc64-nat.c
+++ b/gdb/sparc64-nat.c
@@ -68,10 +68,6 @@ sparc64_fpregset_supplies_p (struct gdbarch *gdbarch, int regnum)
return 0;
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_sparc64_nat (void);
void
_initialize_sparc64_nat (void)
diff --git a/gdb/sparc64-nbsd-nat.c b/gdb/sparc64-nbsd-nat.c
index 9c7e8b1..44e54f5 100644
--- a/gdb/sparc64-nbsd-nat.c
+++ b/gdb/sparc64-nbsd-nat.c
@@ -167,10 +167,6 @@ sparc64nbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
return 1;
}
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_sparc64nbsd_nat (void);
-
void
_initialize_sparc64nbsd_nat (void)
{
diff --git a/gdb/sparc64-nbsd-tdep.c b/gdb/sparc64-nbsd-tdep.c
index 08ba64b..0876539 100644
--- a/gdb/sparc64-nbsd-tdep.c
+++ b/gdb/sparc64-nbsd-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_sparc64nbsd_tdep (void);
void
_initialize_sparc64nbsd_tdep (void)
diff --git a/gdb/sparc64-obsd-nat.c b/gdb/sparc64-obsd-nat.c
index a59fc69..9af3e5e 100644
--- a/gdb/sparc64-obsd-nat.c
+++ b/gdb/sparc64-obsd-nat.c
@@ -106,10 +106,6 @@ sparc64obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
return 1;
}
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_sparc64obsd_nat (void);
-
void
_initialize_sparc64obsd_nat (void)
{
diff --git a/gdb/sparc64-obsd-tdep.c b/gdb/sparc64-obsd-tdep.c
index 0da50b1..e86872e 100644
--- a/gdb/sparc64-obsd-tdep.c
+++ b/gdb/sparc64-obsd-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_sparc64obsd_tdep (void);
void
_initialize_sparc64obsd_tdep (void)
diff --git a/gdb/sparc64-sol2-tdep.c b/gdb/sparc64-sol2-tdep.c
index 5417df4..1d768fa 100644
--- a/gdb/sparc64-sol2-tdep.c
+++ b/gdb/sparc64-sol2-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_sparc64_sol2_tdep (void);
void
_initialize_sparc64_sol2_tdep (void)
diff --git a/gdb/spu-linux-nat.c b/gdb/spu-linux-nat.c
index 19552fc..77f5620 100644
--- a/gdb/spu-linux-nat.c
+++ b/gdb/spu-linux-nat.c
@@ -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)
diff --git a/gdb/spu-multiarch.c b/gdb/spu-multiarch.c
index 7682ca2..ebca082 100644
--- a/gdb/spu-multiarch.c
+++ b/gdb/spu-multiarch.c
@@ -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)
{
diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c
index 59c51b2..2de9155 100644
--- a/gdb/spu-tdep.c
+++ b/gdb/spu-tdep.c
@@ -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)
{
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index 8ba6bb5..d9a4d5e 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -52,8 +52,6 @@
#include "stabsread.h" /* Our own declarations */
#undef EXTERN
-extern void _initialize_stabsread (void);
-
struct nextfield
{
struct nextfield *next;
diff --git a/gdb/stack.c b/gdb/stack.c
index 8a066b2..06d891d 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -2564,10 +2564,6 @@ func_command (char *arg, int from_tty)
else if (frame != get_selected_frame (NULL))
select_and_print_frame (frame);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_stack (void);
void
_initialize_stack (void)
diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c
index 89c1ccc..c0cc662 100644
--- a/gdb/stap-probe.c
+++ b/gdb/stap-probe.c
@@ -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)
{
diff --git a/gdb/std-regs.c b/gdb/std-regs.c
index 73bafce..ebcbb97 100644
--- a/gdb/std-regs.c
+++ b/gdb/std-regs.c
@@ -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)
{
diff --git a/gdb/symfile-debug.c b/gdb/symfile-debug.c
index 5ca1fa7..e7890c9 100644
--- a/gdb/symfile-debug.c
+++ b/gdb/symfile-debug.c
@@ -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)
{
diff --git a/gdb/symfile-mem.c b/gdb/symfile-mem.c
index acbaaaf..b3543d6 100644
--- a/gdb/symfile-mem.c
+++ b/gdb/symfile-mem.c
@@ -236,11 +236,6 @@ add_vsyscall_page (struct target_ops *target, int from_tty)
}
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_symfile_mem;
-
void
_initialize_symfile_mem (void)
{
diff --git a/gdb/symfile.c b/gdb/symfile.c
index d600b61..96b7d6f 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -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. */
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index c85f0b7..6cbb2ce 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -54,8 +54,6 @@ FILE *std_err;
static int block_depth (struct block *);
-void _initialize_symmisc (void);
-
struct print_symbol_args
{
struct gdbarch *gdbarch;
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 8492315..b504cd6 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -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;
diff --git a/gdb/target-dcache.c b/gdb/target-dcache.c
index fe5e56a..7602440 100644
--- a/gdb/target-dcache.c
+++ b/gdb/target-dcache.c
@@ -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)
{
diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c
index 2b3c146..3735e64 100644
--- a/gdb/target-descriptions.c
+++ b/gdb/target-descriptions.c
@@ -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)
{
diff --git a/gdb/thread.c b/gdb/thread.c
index 8a0ed0c..2185d50 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -48,10 +48,6 @@
/* 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;
diff --git a/gdb/tic6x-linux-tdep.c b/gdb/tic6x-linux-tdep.c
index 9bf490d..1a03a29 100644
--- a/gdb/tic6x-linux-tdep.c
+++ b/gdb/tic6x-linux-tdep.c
@@ -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)
{
diff --git a/gdb/tic6x-tdep.c b/gdb/tic6x-tdep.c
index 156a54f..013a084 100644
--- a/gdb/tic6x-tdep.c
+++ b/gdb/tic6x-tdep.c
@@ -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)
{
diff --git a/gdb/tilegx-linux-nat.c b/gdb/tilegx-linux-nat.c
index 5cdf74d..c5c3a14 100644
--- a/gdb/tilegx-linux-nat.c
+++ b/gdb/tilegx-linux-nat.c
@@ -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)
{
diff --git a/gdb/tilegx-linux-tdep.c b/gdb/tilegx-linux-tdep.c
index 5ae24c4..f687d48 100644
--- a/gdb/tilegx-linux-tdep.c
+++ b/gdb/tilegx-linux-tdep.c
@@ -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)
{
diff --git a/gdb/tilegx-tdep.c b/gdb/tilegx-tdep.c
index 2db6790..b26622d 100644
--- a/gdb/tilegx-tdep.c
+++ b/gdb/tilegx-tdep.c
@@ -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)
{
diff --git a/gdb/tracefile-tfile.c b/gdb/tracefile-tfile.c
index 37bd96a..7288e7c 100644
--- a/gdb/tracefile-tfile.c
+++ b/gdb/tracefile-tfile.c
@@ -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)
{
diff --git a/gdb/tracefile.c b/gdb/tracefile.c
index 8dde605..b6a800c 100644
--- a/gdb/tracefile.c
+++ b/gdb/tracefile.c
@@ -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)
{
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index f8aa329..dbd850f 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -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[] = {
diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c
index 315f5b2..acb6381 100644
--- a/gdb/tui/tui-hooks.c
+++ b/gdb/tui/tui-hooks.c
@@ -266,8 +266,6 @@ tui_remove_hooks (void)
tui_register_changed_observer = NULL;
}
-void _initialize_tui_hooks (void);
-
void
_initialize_tui_hooks (void)
{
diff --git a/gdb/tui/tui-interp.c b/gdb/tui/tui-interp.c
index 702c342..e5e7321 100644
--- a/gdb/tui/tui-interp.c
+++ b/gdb/tui/tui-interp.c
@@ -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)
{
diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c
index 7ecfaec..eab1ab6 100644
--- a/gdb/tui/tui-layout.c
+++ b/gdb/tui/tui-layout.c
@@ -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)
{
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c
index 217fff2..838172e 100644
--- a/gdb/tui/tui-regs.c
+++ b/gdb/tui/tui-regs.c
@@ -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)
{
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c
index c075bef..ce7c5ee 100644
--- a/gdb/tui/tui-stack.c
+++ b/gdb/tui/tui-stack.c
@@ -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)
{
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
index e0df667..cb8e475 100644
--- a/gdb/tui/tui-win.c
+++ b/gdb/tui/tui-win.c
@@ -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)
{
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c
index b77a885..77dc866 100644
--- a/gdb/tui/tui.c
+++ b/gdb/tui/tui.c
@@ -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)
{
diff --git a/gdb/typeprint.c b/gdb/typeprint.c
index 0cc6821..c82e623 100644
--- a/gdb/typeprint.c
+++ b/gdb/typeprint.c
@@ -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);
diff --git a/gdb/user-regs.c b/gdb/user-regs.c
index a19a12a..121c69f 100644
--- a/gdb/user-regs.c
+++ b/gdb/user-regs.c
@@ -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)
{
diff --git a/gdb/utils.c b/gdb/utils.c
index f2da2df..583c155 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -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)
{
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c
index 30cd35b..46a74aa 100644
--- a/gdb/v850-tdep.c
+++ b/gdb/v850-tdep.c
@@ -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)
{
diff --git a/gdb/valarith.c b/gdb/valarith.c
index bcc5ff6..a277be4 100644
--- a/gdb/valarith.c
+++ b/gdb/valarith.c
@@ -36,9 +36,6 @@
#define TRUNCATION_TOWARDS_ZERO ((-5 / 2) == -2)
#endif
-void _initialize_valarith (void);
-
-
/* 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.
diff --git a/gdb/valops.c b/gdb/valops.c
index 19f96c8..defc7d5 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -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. */
diff --git a/gdb/valprint.c b/gdb/valprint.c
index 5b02e2f..d3094ca 100644
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -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 =
diff --git a/gdb/value.c b/gdb/value.c
index ec615b3..1fd9cc9 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -43,10 +43,6 @@
#include <algorithm>
#include "completer.h"
-/* Prototypes for exported functions. */
-
-void _initialize_values (void);
-
/* Definition of a user function. */
struct internal_function
{
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 7bd549d..f669180 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -2638,8 +2638,7 @@ varobj_invalidate (void)
{
all_root_varobjs (varobj_invalidate_iter, NULL);
}
-
-extern void _initialize_varobj (void);
+
void
_initialize_varobj (void)
{
diff --git a/gdb/vax-bsd-nat.c b/gdb/vax-bsd-nat.c
index 6295368..4ed9a80 100644
--- a/gdb/vax-bsd-nat.c
+++ b/gdb/vax-bsd-nat.c
@@ -125,10 +125,6 @@ vaxbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
return 1;
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_vaxbsd_nat (void);
void
_initialize_vaxbsd_nat (void)
diff --git a/gdb/vax-nbsd-tdep.c b/gdb/vax-nbsd-tdep.c
index cbd50f1..1f6cc1a 100644
--- a/gdb/vax-nbsd-tdep.c
+++ b/gdb/vax-nbsd-tdep.c
@@ -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);
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_vaxnbsd_tdep (void);
void
_initialize_vaxnbsd_tdep (void)
diff --git a/gdb/vax-tdep.c b/gdb/vax-tdep.c
index a92a35a..4ff12fd 100644
--- a/gdb/vax-tdep.c
+++ b/gdb/vax-tdep.c
@@ -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)
{
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 6a5a295..ab5582d 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -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. */
diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c
index 3e7e8f8..886c4ec 100644
--- a/gdb/windows-tdep.c
+++ b/gdb/windows-tdep.c
@@ -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 =
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 138f941..0707cd7 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -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)
{
diff --git a/gdb/xml-support.c b/gdb/xml-support.c
index 65638b9..50a062a 100644
--- a/gdb/xml-support.c
+++ b/gdb/xml-support.c
@@ -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)
{
diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c
index 9d91fd5..40a6d98 100644
--- a/gdb/xstormy16-tdep.c
+++ b/gdb/xstormy16-tdep.c
@@ -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)
{
diff --git a/gdb/xtensa-linux-nat.c b/gdb/xtensa-linux-nat.c
index 2781686..b8366c5 100644
--- a/gdb/xtensa-linux-nat.c
+++ b/gdb/xtensa-linux-nat.c
@@ -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)
{
diff --git a/gdb/xtensa-linux-tdep.c b/gdb/xtensa-linux-tdep.c
index d27cc42..e912c01 100644
--- a/gdb/xtensa-linux-tdep.c
+++ b/gdb/xtensa-linux-tdep.c
@@ -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)
{
diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c
index bfb9ac6..51fa520 100644
--- a/gdb/xtensa-tdep.c
+++ b/gdb/xtensa-tdep.c
@@ -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)
{