diff options
author | Alan Modra <amodra@gmail.com> | 2020-03-03 00:08:42 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-03-03 00:12:44 +1030 |
commit | 40b35c78b62eec2ab41219906a7ea0c0be323499 (patch) | |
tree | 396142410fbe8e426380c6b7c90075f5c8a3ddbb /bfd/hpux-core.c | |
parent | 601b73d5003ef804b49dfe42afd0fba0952218de (diff) | |
download | gdb-40b35c78b62eec2ab41219906a7ea0c0be323499.zip gdb-40b35c78b62eec2ab41219906a7ea0c0be323499.tar.gz gdb-40b35c78b62eec2ab41219906a7ea0c0be323499.tar.bz2 |
Re: bfd_cleanup for object_p
I hate files that you can't compile.
* cisco-core.c (cisco_core_file_p): Return bfd_cleanup.
* hpux-core.c (hpux_core_core_file_p): Update prototype.
* sco5-core.c (sco5_core_file_p): Return bfd_cleanup.
(core_sco5_vec): Correct initialisers.
Diffstat (limited to 'bfd/hpux-core.c')
-rw-r--r-- | bfd/hpux-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/hpux-core.c b/bfd/hpux-core.c index 2b4de9e..2ecd4f1 100644 --- a/bfd/hpux-core.c +++ b/bfd/hpux-core.c @@ -106,7 +106,7 @@ struct hpux_core_struct static asection *make_bfd_asection (bfd *, const char *, flagword, bfd_size_type, bfd_vma, unsigned int); -static const bfd_target *hpux_core_core_file_p (bfd *); +static bfd_cleanup hpux_core_core_file_p (bfd *); static char *hpux_core_core_file_failing_command (bfd *); static int hpux_core_core_file_failing_signal (bfd *); static void swap_abort (void); |