diff options
Diffstat (limited to 'gdb/nto-tdep.c')
-rw-r--r-- | gdb/nto-tdep.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c index 226ebce..193f83c 100644 --- a/gdb/nto-tdep.c +++ b/gdb/nto-tdep.c @@ -299,7 +299,7 @@ nto_truncate_ptr (CORE_ADDR addr) return addr & (((CORE_ADDR) 1 << gdbarch_ptr_bit (target_gdbarch)) - 1); } -Elf_Internal_Phdr * +static Elf_Internal_Phdr * find_load_phdr (bfd *abfd) { Elf_Internal_Phdr *phdr; @@ -398,6 +398,9 @@ nto_initialize_signals (void) #endif } +/* Provide a prototype to silence -Wmissing-prototypes. */ +extern initialize_file_ftype _initialize_nto_tdep; + void _initialize_nto_tdep (void) { |