@@ -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
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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;
@@ -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)
{
@@ -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)
{
@@ -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"
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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)
{
@@ -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)
@@ -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)
@@ -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)
@@ -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)
@@ -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)
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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);
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -1567,8 +1567,6 @@ found and/or loaded."),
return &retval;
}
-void _initialize_auto_load (void);
-
void
_initialize_auto_load (void)
{
@@ -567,9 +567,6 @@ info_auxv_command (char *cmd, int from_tty)
}
}
-
-extern initialize_file_ftype _initialize_auxv; /* -Wmissing-prototypes; */
-
void
_initialize_auxv (void)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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;
@@ -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)
{
@@ -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)
{
@@ -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
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -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
@@ -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;
@@ -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)
{
@@ -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? */
@@ -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)
@@ -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 "{";
@@ -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)
{
@@ -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)
{
@@ -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
@@ -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. */
@@ -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)
{
@@ -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)
{
@@ -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
@@ -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 *);
@@ -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)
{
@@ -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)
{
@@ -1731,10 +1731,6 @@ Specify the filename of the CTF directory.";
#endif
-/* -Wmissing-prototypes */
-
-extern initialize_file_ftype _initialize_ctf;
-
/* module initialization */
void
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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,
@@ -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
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -417,8 +417,6 @@ maintenance_print_dummy_frames (char *args, int from_tty)
}
}
-extern void _initialize_dummy_frame (void);
-
void
_initialize_dummy_frame (void)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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;
@@ -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;
@@ -1061,8 +1061,6 @@ ext_lang_before_prompt (const char *current_gdb_prompt)
}
}
-extern initialize_file_ftype _initialize_extension;
-
void
_initialize_extension (void)
{
@@ -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);
@@ -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 *);
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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;
@@ -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)
{
@@ -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
@@ -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) };
@@ -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)
{
@@ -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)
{
@@ -5479,8 +5479,6 @@ target_gdbarch (void)
return current_inferior ()->gdbarch;
}
-extern void _initialize_gdbarch (void);
-
void
_initialize_gdbarch (void)
{
@@ -2525,8 +2525,6 @@ target_gdbarch (void)
return current_inferior ()->gdbarch;
}
-extern void _initialize_gdbarch (void);
-
void
_initialize_gdbarch (void)
{
@@ -5368,8 +5368,6 @@ objfile_type (struct objfile *objfile)
return objfile_type;
}
-extern initialize_file_ftype _initialize_gdbtypes;
-
void
_initialize_gdbtypes (void)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -377,8 +377,6 @@ fill_fpregset (const struct regcache *regcache,
}
}
-void _initialize_hppa_linux_nat (void);
-
void
_initialize_hppa_linux_nat (void)
{
@@ -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)
@@ -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)
{
@@ -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)
@@ -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)
{
@@ -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)
@@ -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)
{
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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)
{
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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."));
@@ -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. */
@@ -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);
@@ -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 *);
@@ -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);
@@ -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)
{
@@ -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)
{
@@ -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 *);
@@ -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
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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);
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -44,8 +44,6 @@
/* Local functions */
-extern void _initialize_m32r_tdep (void);
-
static CORE_ADDR
m32r_frame_align (struct gdbarch *gdbarch, CORE_ADDR sp)
{
@@ -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)
{
@@ -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)
@@ -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)
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -94,10 +94,6 @@ m88kbsd_store_inferior_registers (struct target_ops *ops,
(PTRACE_TYPE_ARG3) ®s, 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)
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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);
@@ -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
@@ -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;
@@ -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)
{
@@ -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;
@@ -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);
@@ -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)
{
@@ -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,
@@ -135,9 +135,6 @@ microblaze_linux_init_abi (struct gdbarch_info info,
µblaze_linux_sighandler_tramp_frame);
}
-/* -Wmissing-prototypes */
-extern initialize_file_ftype _initialize_microblaze_linux_tdep;
-
void
_initialize_microblaze_linux_tdep (void)
{
@@ -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)
{
@@ -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)
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -108,10 +108,6 @@ mips64obsd_store_inferior_registers (struct target_ops *ops,
if (ptrace (PT_SETREGS, pid, (PTRACE_TYPE_ARG3) ®s, 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)
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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 };
@@ -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
@@ -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)
{
@@ -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 };
@@ -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)
{
@@ -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)
{
@@ -1533,8 +1533,6 @@ init_procfs_targets (void)
#define OSTYPE_NTO 1
-extern initialize_file_ftype _initialize_procfs;
-
void
_initialize_procfs (void)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -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. */
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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)
@@ -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)
@@ -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 *);
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -2245,10 +2245,6 @@ maintenance_check_psymtabs (char *ignore, int from_tty)
}
}
-
-
-extern initialize_file_ftype _initialize_psymtab;
-
void
_initialize_psymtab (void)
{
@@ -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 ()
@@ -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. */
@@ -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
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -44,8 +44,6 @@
/* Prototypes */
-extern void _initialize_remote_sim (void);
-
static void init_callbacks (void);
static void end_callbacks (void);
@@ -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 *);
@@ -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)
{
@@ -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
@@ -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)
{
@@ -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)
{
@@ -655,8 +655,6 @@ rs6000_xfer_shared_libraries
}
}
-void _initialize_rs6000_nat (void);
-
void
_initialize_rs6000_nat (void)
{
@@ -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)
{
@@ -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;
@@ -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
@@ -1002,8 +1002,6 @@ s390_read_description (struct target_ops *ops)
tdesc_s390_linux32);
}
-void _initialize_s390_nat (void);
-
void
_initialize_s390_nat (void)
{
@@ -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)
{
@@ -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)
{
@@ -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 ()
{
@@ -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)
{
@@ -31,8 +31,6 @@
#include "command.h"
-void _initialize_ser_windows (void);
-
struct ser_windows_state
{
int in_progress;
@@ -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;
@@ -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;
@@ -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
@@ -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;
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -1600,8 +1600,6 @@ remove_user_added_objfile (struct objfile *objfile)
}
}
-extern initialize_file_ftype _initialize_solib; /* -Wmissing-prototypes */
-
void
_initialize_solib (void)
{
@@ -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 **);
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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)
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -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)
@@ -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)
@@ -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)
{
@@ -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)
@@ -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)
{
@@ -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)
@@ -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)
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -52,8 +52,6 @@
#include "stabsread.h" /* Our own declarations */
#undef EXTERN
-extern void _initialize_stabsread (void);
-
struct nextfield
{
struct nextfield *next;
@@ -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)
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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. */
@@ -54,8 +54,6 @@ FILE *std_err;
static int block_depth (struct block *);
-void _initialize_symmisc (void);
-
struct print_symbol_args
{
struct gdbarch *gdbarch;
@@ -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;
@@ -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)
{
@@ -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)
{
@@ -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;
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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[] = {
@@ -266,8 +266,6 @@ tui_remove_hooks (void)
tui_register_changed_observer = NULL;
}
-void _initialize_tui_hooks (void);
-
void
_initialize_tui_hooks (void)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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);
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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.
@@ -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. */
@@ -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 =
@@ -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
{
@@ -2638,8 +2638,7 @@ varobj_invalidate (void)
{
all_root_varobjs (varobj_invalidate_iter, NULL);
}
-
-extern void _initialize_varobj (void);
+
void
_initialize_varobj (void)
{
@@ -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)
@@ -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)
@@ -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)
{
@@ -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. */
@@ -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 =
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{
@@ -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)
{