diff options
author | Joel Brobecker <brobecker@gnat.com> | 2005-10-28 16:24:35 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2005-10-28 16:24:35 +0000 |
commit | cc429f578cef8587d7e95936659d010a00a626df (patch) | |
tree | f2f23ac0a3670532978da266846aed889285495c /bfd/xcoff-target.h | |
parent | 74d26813fe673d274fd6f7b181ba6160eef7badb (diff) | |
download | gdb-cc429f578cef8587d7e95936659d010a00a626df.zip gdb-cc429f578cef8587d7e95936659d010a00a626df.tar.gz gdb-cc429f578cef8587d7e95936659d010a00a626df.tar.bz2 |
Mostly from Eric Botcazou <botcazou@adacore.com>
* rs6000-core.c: ANSIfy all function definitions.
Add missing function prototypes.
(ptr_to_uint): New type.
(rs6000coff_core_p): Use it as intermediate step in casts.
(rs6000coff_core_file_matches_executable_p): Likewise.
* xcoff-target.h (rs6000coff_core_p): Fix prototype.
(rs6000coff_core_file_matches_executable_p): Likewise.
Diffstat (limited to 'bfd/xcoff-target.h')
-rw-r--r-- | bfd/xcoff-target.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/xcoff-target.h b/bfd/xcoff-target.h index 04bafd0..7e73cf2 100644 --- a/bfd/xcoff-target.h +++ b/bfd/xcoff-target.h @@ -63,8 +63,8 @@ #undef CORE_FILE_P #define CORE_FILE_P rs6000coff_core_p -extern const bfd_target * rs6000coff_core_p (void); -extern bfd_boolean rs6000coff_core_file_matches_executable_p (void); +extern const bfd_target * rs6000coff_core_p (bfd *); +extern bfd_boolean rs6000coff_core_file_matches_executable_p (bfd *, bfd*); #undef coff_core_file_matches_executable_p #define coff_core_file_matches_executable_p \ |