From 3301ddba1badc50a06f5d21c78790d508969081d Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Tue, 30 Jan 2024 13:40:56 +0000 Subject: 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. --- libctf/ctf-hash.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libctf/ctf-hash.c') 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) -- cgit v1.1