pike.git / src / mapping.c

version» Context lines:

pike.git/src/mapping.c:63:    }   #endif    FREE_PROT(m);    unlink_mapping_data(m->data);    DOUBLEUNLINK(first_mapping, m);    GC_FREE(m);    ba_free(&mapping_allocator, m);   }      ATTRIBUTE((malloc)) - static struct mapping * alloc_mapping() { + static struct mapping * alloc_mapping(void) {    return ba_alloc(&mapping_allocator);   }    - void free_all_mapping_blocks() { + void free_all_mapping_blocks(void) {    ba_destroy(&mapping_allocator);   }      #ifndef PIKE_MAPPING_KEYPAIR_LOOP   #define IF_ELSE_KEYPAIR_LOOP(X, Y) Y   #define FREE_KEYPAIR(md, k) do { \    k->next = md->free_list; \    md->free_list = k; \    } while(0)   #else /* PIKE_MAPPING_KEYPAIR_LOOP */