[PATCH v2 10/23] nscd: Use uint8_t instead of bitfield in struct hashentry
Florian Weimer
fweimer@redhat.com
Fri Mar 20 20:42:14 GMT 2026
This enables access through <concurrent_buffer.h>
---
nscd/nscd-client.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h
index dd7421c5d1..c507933acb 100644
--- a/nscd/nscd-client.h
+++ b/nscd/nscd-client.h
@@ -283,7 +283,7 @@ datahead_init_neg (struct datahead *head, nscd_ssize_t allocsize,
/* Structure for one hash table entry. */
struct hashentry
{
- request_type type:8; /* Which type of dataset. */
+ uint8_t type; /* Type of dataset; see request_type. */
bool first; /* True if this was the original key. */
nscd_ssize_t len; /* Length of key. */
ref_t key; /* Pointer to key. */
--
2.53.0
More information about the Libc-alpha
mailing list