summaryrefslogtreecommitdiff
path: root/bfd/mach-o.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-10-28 12:47:26 +1030
committerAlan Modra <amodra@gmail.com>2021-10-28 13:24:37 +1030
commit42eec46f230cb05873fdc7561057a6ae63d17ce4 (patch)
treed760e79e5de354b15d49c8caa762ff21543c3125 /bfd/mach-o.c
parent1cba418d26929e0fa0f9c43b2323093b1c7fa9de (diff)
downloadbinutils-gdb-42eec46f230cb05873fdc7561057a6ae63d17ce4.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
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);