mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Reformat the codebase with the clang-format 18.
This commit is contained in:
@@ -8,8 +8,9 @@ zero_reallocs(void) {
|
||||
size_t count = 12345;
|
||||
size_t sz = sizeof(count);
|
||||
|
||||
expect_d_eq(mallctl("stats.zero_reallocs", (void *)&count, &sz,
|
||||
NULL, 0), 0, "Unexpected mallctl failure");
|
||||
expect_d_eq(
|
||||
mallctl("stats.zero_reallocs", (void *)&count, &sz, NULL, 0), 0,
|
||||
"Unexpected mallctl failure");
|
||||
return count;
|
||||
}
|
||||
|
||||
@@ -35,6 +36,5 @@ main(void) {
|
||||
* We expect explicit counts; reentrant tests run multiple times, so
|
||||
* counts leak across runs.
|
||||
*/
|
||||
return test_no_reentrancy(
|
||||
test_zero_reallocs);
|
||||
return test_no_reentrancy(test_zero_reallocs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user