]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/nios2-tdep.c
gdb: add back declarations for _initialize functions
[thirdparty/binutils-gdb.git] / gdb / nios2-tdep.c
index c2683b5e3a79fd2110a535258ecc44c683a2cb70..cb669da24802bdfcc1d37a99a4f6d4e8801b885c 100644 (file)
@@ -1,5 +1,5 @@
 /* Target-machine dependent code for Nios II, for GDB.
-   Copyright (C) 2012-2019 Free Software Foundation, Inc.
+   Copyright (C) 2012-2020 Free Software Foundation, Inc.
    Contributed by Peter Brookes (pbrookes@altera.com)
    and Andrew Draper (adraper@altera.com).
    Contributed by Mentor Graphics, Inc.
@@ -2390,8 +2390,9 @@ nios2_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   return gdbarch;
 }
 
+void _initialize_nios2_tdep ();
 void
-_initialize_nios2_tdep (void)
+_initialize_nios2_tdep ()
 {
   gdbarch_register (bfd_arch_nios2, nios2_gdbarch_init, NULL);
   initialize_tdesc_nios2 ();