• Roland McGrath's avatar
    (sbrk): Removed decl. · bbc60227
    Roland McGrath authored
    (real_morecore): New static variable.
    (warnlevel, warn_function, check_memory_limits): Removed.
    (obtain): Don't call check_memory_limits.
    (obtain, relinquish, r_alloc_sbrk): Use (*real_morecore) in place of sbrk;
    it returns 0 for errors, not -1.
    (r_alloc_init): Set real_morecore to old value of __morecore.
    Don't initialize lim_data or warnlevel, and don't call get_lim_data.
    (memory_warnings): Function removed.
    bbc60227
ralloc.c 10.9 KB