mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-01 12:00:35 +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:
parent
309c199452
commit
ffdc4e39de
@ -142,7 +142,7 @@ dumper::sane ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
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));
|
deb_printf (" %s", get_section_name (abfd, sect));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user