X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fcoff-stgo32.c;h=676022872aea4f58899da7ab73ad2294d74b2fe8;hb=cb001c0d283dd884efe06770d033a50fb1bc6c7d;hp=6984b4219ee8197f86e451626d036703bb49a56a;hpb=2aa90762b71af7f04032d2bebed6470070d3d801;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/coff-stgo32.c b/bfd/coff-stgo32.c index 6984b4219e..676022872a 100644 --- a/bfd/coff-stgo32.c +++ b/bfd/coff-stgo32.c @@ -93,7 +93,7 @@ create_go32_stub (bfd *); #define COFF_ADJUST_AUX_OUT_PRE adjust_aux_out_pre #define COFF_ADJUST_AUX_OUT_POST adjust_aux_out_post -static const bfd_target *go32_check_format (bfd *); +static bfd_cleanup go32_check_format (bfd *); #define COFF_CHECK_FORMAT go32_check_format @@ -406,7 +406,7 @@ go32_stubbed_coff_bfd_copy_private_bfd_data (bfd *ibfd, bfd *obfd) /* coff_object_p only checks 2 bytes F_MAGIC at GO32_STUBSIZE inside the file which is too fragile. */ -static const bfd_target * +static bfd_cleanup go32_check_format (bfd *abfd) { char mz[2];