mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-19 02:15:38 +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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue