diff options
author | Alan Modra <amodra@gmail.com> | 2021-10-28 12:47:26 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-10-28 13:24:37 +1030 |
commit | 42eec46f230cb05873fdc7561057a6ae63d17ce4 (patch) | |
tree | d760e79e5de354b15d49c8caa762ff21543c3125 /bfd/mach-o.c | |
parent | 1cba418d26929e0fa0f9c43b2323093b1c7fa9de (diff) | |
download | gdb-42eec46f230cb05873fdc7561057a6ae63d17ce4.zip gdb-42eec46f230cb05873fdc7561057a6ae63d17ce4.tar.gz gdb-42eec46f230cb05873fdc7561057a6ae63d17ce4.tar.bz2 |
bfd: remove use of INLINE
No need to use anything fancy, plain inline works just as well.
* bfd-in.h (INLINE): Don't define.
* bfd-in2.h: Regenerate.
* aoutx.h: Replace use of INLINE with inline.
* elf-eh-frame.c: Likewise.
* elf32-score7.c: Likewise.
* elfxx-mips.c: Likewise.
* ihex.c: Likewise.
* mach-o.c: Likewise.
* mmo.c: Likewise.
Diffstat (limited to 'bfd/mach-o.c')
-rw-r--r-- | bfd/mach-o.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/mach-o.c b/bfd/mach-o.c index a26a68f..31a109b 100644 --- a/bfd/mach-o.c +++ b/bfd/mach-o.c @@ -66,7 +66,7 @@ bfd_mach_o_valid (bfd *abfd) return true; } -static INLINE bool +static inline bool mach_o_wide_p (bfd_mach_o_header *header) { switch (header->version) @@ -81,7 +81,7 @@ mach_o_wide_p (bfd_mach_o_header *header) } } -static INLINE bool +static inline bool bfd_mach_o_wide_p (bfd *abfd) { return mach_o_wide_p (&bfd_mach_o_get_data (abfd)->header); |