lib: fix formatting nits (part 3)

From `lib/h` to `lib/w`.

part 1: 47a1ab2ebe #19764
part 2: 86b346443b #19800

Closes #19811
This commit is contained in:
Viktor Szakats 2025-12-02 07:25:18 +01:00
parent dc8c0d54a5
commit c3b030b860
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
102 changed files with 2001 additions and 2226 deletions

View file

@ -34,7 +34,7 @@
* zero : when i is equal to j
* positive when : when i is larger than j
*/
#define compare(i,j) curlx_timediff_us(i,j)
#define compare(i, j) curlx_timediff_us(i, j)
/*
* Splay using the key i (which may or may not be in the tree.) The starting
@ -134,7 +134,6 @@ struct Curl_tree *Curl_splayinsert(struct curltime i,
node->smaller = t->smaller;
node->larger = t;
t->smaller = NULL;
}
else {
node->larger = t->larger;
@ -156,7 +155,7 @@ struct Curl_tree *Curl_splaygetbest(struct curltime i,
struct Curl_tree *t,
struct Curl_tree **removed)
{
static const struct curltime tv_zero = {0, 0};
static const struct curltime tv_zero = { 0, 0 };
struct Curl_tree *x;
if(!t) {
@ -197,7 +196,6 @@ struct Curl_tree *Curl_splaygetbest(struct curltime i,
return x;
}
/* Deletes the node we point out from the tree if it is there. Stores a
* pointer to the new resulting tree in 'newroot'.
*