Branch: Tag:

2016-08-16

2016-08-16 15:58:08 by Arne Goedeke <el@laramies.com>

Mappings: allocate_mapping_no_init has no arguments

239:   #endif   }    - static struct mapping *allocate_mapping_no_init(int size) + static struct mapping *allocate_mapping_no_init(void)   {    struct mapping *m=alloc_mapping();    GC_ALLOC(m);
259:    */   PMOD_EXPORT struct mapping *debug_allocate_mapping(int size)   { -  struct mapping *m = allocate_mapping_no_init(size); +  struct mapping *m = allocate_mapping_no_init();    init_mapping(m,size,0);    return m;   }
1555:    Pike_fatal("Zero refs in mapping->data\n");   #endif    -  n=allocate_mapping_no_init(0); +  n=allocate_mapping_no_init();    n->data=m->data;   #ifdef MAPPING_SIZE_DEBUG    n->debug_size=n->data->size;