mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-01 09:37:50 +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
|
|
@ -40,8 +40,8 @@ compare_funcs(uint64_t nwarmup, uint64_t niter, const char *name_a,
|
|||
return;
|
||||
}
|
||||
|
||||
time_func(&timer_a, nwarmup, niter, (void (*)())func_a);
|
||||
time_func(&timer_b, nwarmup, niter, (void (*)())func_b);
|
||||
time_func(&timer_a, nwarmup, niter, (void (*)(void))func_a);
|
||||
time_func(&timer_b, nwarmup, niter, (void (*)(void))func_b);
|
||||
|
||||
uint64_t usec_a = timer_usec(&timer_a);
|
||||
char buf_a[FMT_NSECS_BUF_SIZE];
|
||||
|
|
|
|||
|
|
@ -569,7 +569,7 @@ label_test_end: \
|
|||
} \
|
||||
} while (0)
|
||||
|
||||
bool test_is_reentrant();
|
||||
bool test_is_reentrant(void);
|
||||
|
||||
void test_skip(const char *format, ...) JEMALLOC_FORMAT_PRINTF(1, 2);
|
||||
void test_fail(const char *format, ...) JEMALLOC_FORMAT_PRINTF(1, 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue