aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
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/bfd-in2.h
parent1cba418d26929e0fa0f9c43b2323093b1c7fa9de (diff)
downloadgdb-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/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 669f250..9bdbe04 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -91,14 +91,6 @@ typedef BFD_HOST_U_64_BIT bfd_uint64_t;
#define BFD64
#endif
-#ifndef INLINE
-#if __GNUC__ >= 2
-#define INLINE __inline__
-#else
-#define INLINE
-#endif
-#endif
-
/* Declaring a type wide enough to hold a host long and a host pointer. */
#define BFD_HOSTPTR_T @BFD_HOSTPTR_T@
typedef BFD_HOSTPTR_T bfd_hostptr_t;