Cygwin: dumper: use void* in place of PTR

The definition of PTR has been dropped from newer versions
of ansidecl.h.

Convert definition of print_section_name to use void * instead,
as required by bfd_map_over_sections.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2024-02-12 13:43:03 +01:00
parent bfb68a9e6e
commit dace0bfa6c
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ dumper::sane ()
}
void
print_section_name (bfd* abfd, asection* sect, PTR obj)
print_section_name (bfd* abfd, asection* sect, void* obj)
{
deb_printf (" %s", get_section_name (abfd, sect));
}