X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Faarch64-newlib-tdep.c;h=456bae529fe664b6962e4d7007abafefbeb4b707;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=0194803a16d1928da7676975279e5fc081962292;hpb=32d0add0a654c1204ab71dc8a55d9374538c4b33;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/aarch64-newlib-tdep.c b/gdb/aarch64-newlib-tdep.c index 0194803a16..456bae529f 100644 --- a/gdb/aarch64-newlib-tdep.c +++ b/gdb/aarch64-newlib-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for Newlib AArch64. - Copyright (C) 2011-2015 Free Software Foundation, Inc. + Copyright (C) 2011-2020 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of GDB. @@ -36,11 +36,9 @@ 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 -_initialize_aarch64_newlib_tdep (void) +_initialize_aarch64_newlib_tdep () { gdbarch_register_osabi (bfd_arch_aarch64, 0, GDB_OSABI_NEWLIB, aarch64_newlib_init_abi);