pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:5037:    node->next = node->prev = NULL;    node->refs = 1;    SET_SVAL(node->val, T_INT, NUMBER_UNDEFINED, integer, 0);    return node;   }      void count_memory_in_pike_list_nodes(size_t * n, size_t * s) {    ba_count_all(&pike_list_node_allocator, n, s);   }    - void free_all_pike_list_node_blocks() { + void free_all_pike_list_node_blocks(void) {    ba_destroy(&pike_list_node_allocator);   }      PMOD_EXPORT void free_list_node(struct pike_list_node *node)   {    if (!sub_ref(node)) {    if (node->prev) {    free_list_node(node->prev);    }    if (node->next) {
pike.git/src/builtin.cmod:6057:   }      /*! @endclass    */      /*! @endmodule    */      static struct object *val_module;    - static void get_val_module() + static void get_val_module(void)   {    assert (!val_module);    push_text ("Val");    APPLY_MASTER ("resolv", 1);    if (TYPEOF(Pike_sp[-1]) != T_OBJECT)    Pike_error ("\"Val\" didn't resolve to a module object.\n");    val_module = (--Pike_sp)->u.object;   }      /* Always do the lookup in the Val module dynamically to allow the