Enabled -Wstrict-prototypes and fixed warnings.

This commit is contained in:
Qi Wang
2023-07-05 13:33:34 -07:00
committed by Qi Wang
parent ebd7e99f5c
commit 602edd7566
42 changed files with 82 additions and 80 deletions

View File

@@ -16,13 +16,13 @@ test_double_free_pre(void) {
}
static void
test_double_free_post() {
test_double_free_post(void) {
expect_b_eq(fake_abort_called, true, "Double-free check didn't fire.");
safety_check_set_abort(NULL);
}
static bool
tcache_enabled() {
tcache_enabled(void) {
bool enabled;
size_t sz = sizeof(enabled);
assert_d_eq(