diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2025-04-25 18:30:28 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2025-04-25 21:23:07 +0100 |
commit | f17015417643be9d6cb03b840edbb9d8952671ec (patch) | |
tree | 2f97b73dce58924fca59ca0e92e25c8056060f55 /libctf | |
parent | 27d5d0ccc73858336cdca094b80cfefded3d1061 (diff) | |
download | binutils-f17015417643be9d6cb03b840edbb9d8952671ec.zip binutils-f17015417643be9d6cb03b840edbb9d8952671ec.tar.gz binutils-f17015417643be9d6cb03b840edbb9d8952671ec.tar.bz2 |
libctf: drop unnecessary macro
Every use of this macro has been deleted.
Diffstat (limited to 'libctf')
-rw-r--r-- | libctf/ctf-impl.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libctf/ctf-impl.h b/libctf/ctf-impl.h index e0145bd..ee9991b 100644 --- a/libctf/ctf-impl.h +++ b/libctf/ctf-impl.h @@ -611,11 +611,6 @@ extern ctf_id_t ctf_index_to_type (const ctf_dict_t *, uint32_t); /* * If an offs is not aligned already then round it up and align it. */ #define LCTF_ALIGN_OFFS(offs, align) ((offs + (align - 1)) & ~(align - 1)) -#define LCTF_INDEX_TO_TYPEPTR(fp, i) \ - ((i > fp->ctf_stypes) ? \ - ctf_dtd_lookup (fp, ctf_index_to_type (fp, i))->dtd_data : \ - (fp)->ctf_txlate[(i)]) - /* The non *INFO variants of these macros acquire the relevant info from the suffixed type, if the type is prefixed. (Internally to libctf, all types that may ever take a prefix are prefixed until they are written out, so that |