lib: use BIT() instead of bool in structs more

Since it makes use of bitfields on supported platforms, it saves a few
bytes memory. Might as well use it consistently.

Closes #17114
This commit is contained in:
Daniel Stenberg 2025-04-21 00:08:22 +02:00
parent 23bed347b3
commit ba07dcd27b
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
15 changed files with 41 additions and 41 deletions

View file

@ -53,7 +53,7 @@ struct Curl_https_rrinfo {
/* store parsed alpnid entries in the array, end with ALPN_none */
int port; /* -1 means not set */
uint16_t priority;
bool no_def_alpn; /* keytag = 2 */
BIT(no_def_alpn); /* keytag = 2 */
};
CURLcode Curl_httpsrr_set(struct Curl_easy *data,