diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2024-01-30 13:40:56 +0000 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2024-04-19 16:14:46 +0100 |
commit | 3301ddba1badc50a06f5d21c78790d508969081d (patch) | |
tree | 00d35473ebf3d731ba89ece69fe8406696f5b3ba /libctf/ctf-hash.c | |
parent | 629acbe4a32fc2a53e448ce2c704e788f9fbad9f (diff) | |
download | binutils-3301ddba1badc50a06f5d21c78790d508969081d.zip binutils-3301ddba1badc50a06f5d21c78790d508969081d.tar.gz binutils-3301ddba1badc50a06f5d21c78790d508969081d.tar.bz2 |
Revert "libctf: do not corrupt strings across ctf_serialize"
This reverts commit 986e9e3aa03f854bedacef7fac38fe8f009a416c.
(We do not revert the testcase -- it remains valid -- but we are
taking a different, less complex and more robust approach.)
This also deletes the pending refs abstraction without (yet)
replacing it, so some tests will fail for a commit or two.
Diffstat (limited to 'libctf/ctf-hash.c')
-rw-r--r-- | libctf/ctf-hash.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libctf/ctf-hash.c b/libctf/ctf-hash.c index f8032ae..77b8478 100644 --- a/libctf/ctf-hash.c +++ b/libctf/ctf-hash.c @@ -669,12 +669,6 @@ ctf_dynset_lookup (ctf_dynset_t *hp, const void *key) return NULL; } -size_t -ctf_dynset_elements (ctf_dynset_t *hp) -{ - return htab_elements ((struct htab *) hp); -} - /* TRUE/FALSE return. */ int ctf_dynset_exists (ctf_dynset_t *hp, const void *key, const void **orig_key) |