libctf, open: drop unnecessary historical wart around forwards
authorNick Alcock <nick.alcock@oracle.com>
Tue, 2 Jun 2020 19:26:29 +0000 (20:26 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 22 Jul 2020 16:57:26 +0000 (17:57 +0100)
commit2484ca436ac68716636a7aca3826bca3cda243a4
treef43e2b3693ef4597519bc11bf25f2d9e4510016f
parent437061996d8d25ba902903e15952cfc14257b839
libctf, open: drop unnecessary historical wart around forwards

When opening, we consider a forward with a kind above the maximum
allowable set of kinds and a forward of kind CTF_K_UNKNOWN to be a
forward to a struct.  Whatever CTF version it was that produced
forwards with no associated kind, it predates anything we can read:
remove this wart.

libctf/
* ctf-open.c (init_types): Remove typeless CTF_K_FORWARD
special-casing.
libctf/ChangeLog
libctf/ctf-open.c