mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 21:23:06 +00:00
Enabled -Wstrict-prototypes and fixed warnings.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user