]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libctf: make the ctf_next ctn_fp non-const
authorNick Alcock <nick.alcock@oracle.com>
Tue, 11 Jun 2024 19:47:56 +0000 (20:47 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 18 Jun 2024 12:20:32 +0000 (13:20 +0100)
commit4bbc4b1f5cf650ace8b2aa683ccb24a34131ad3b
treef8179c67a73f3a287a7bddc2c982857327080481
parent6e09d4a6e6e62e585fe1237a0094f80f8aeef2fa
libctf: make the ctf_next ctn_fp non-const

This was always an error, because the ctn_fp routinely has errors set on it,
which is not something you can (or should) do to a const object.

libctf/
* ctf-impl.h (ctf_next_) <cu.ctn_fp>: Make non-const.
libctf/ctf-impl.h