From 42eec46f230cb05873fdc7561057a6ae63d17ce4 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 28 Oct 2021 12:47:26 +1030 Subject: 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. --- bfd/mach-o.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/mach-o.c') diff --git a/bfd/mach-o.c b/bfd/mach-o.c index a26a68fa440..31a109b17a8 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); -- cgit v1.2.1