mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Enabled -Wstrict-prototypes and fixed warnings.
This commit is contained in:
@@ -766,7 +766,7 @@ malloc_ncpus(void) {
|
||||
* Since otherwise tricky things is possible with percpu arenas in use.
|
||||
*/
|
||||
static bool
|
||||
malloc_cpu_count_is_deterministic()
|
||||
malloc_cpu_count_is_deterministic(void)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
return true;
|
||||
@@ -1807,7 +1807,7 @@ malloc_init_hard_needed(void) {
|
||||
}
|
||||
|
||||
static bool
|
||||
malloc_init_hard_a0_locked() {
|
||||
malloc_init_hard_a0_locked(void) {
|
||||
malloc_initializer = INITIALIZER;
|
||||
|
||||
JEMALLOC_DIAGNOSTIC_PUSH
|
||||
|
||||
Reference in New Issue
Block a user