mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-28 19:33:04 +03:00
Enabled -Wstrict-prototypes and fixed warnings.
This commit is contained in:
parent
ebd7e99f5c
commit
602edd7566
42 changed files with 82 additions and 80 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue