4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-01 03:50:28 +08:00

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>
(cherry picked from commit dace0bfa6c8c0ee8e3acc190212e1dd9e5a19677)
This commit is contained in:
Corinna Vinschen 2024-02-12 13:43:03 +01:00 committed by Jon Turney
parent 309c199452
commit ffdc4e39de
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81

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));
}