svn path=/trunk/yasm/; revision=852
* stable sort (multiple terms of same type are kept in the same
* order).
*/
- mergesort(e->terms, (size_t)e->numterms, sizeof(yasm_expr__item),
- expr_order_terms_compare);
+ yasm__mergesort(e->terms, (size_t)e->numterms,
+ sizeof(yasm_expr__item), expr_order_terms_compare);
break;
default:
break;
if (!(size % ISIZE) && !(((char *)base - (char *)0) % ISIZE))
iflag = 1;
- if ((list2 = xmalloc(nmemb * size + PSIZE)) == NULL)
+ if ((list2 = yasm_xmalloc(nmemb * size + PSIZE)) == NULL)
return (-1);
list1 = base;
memmove(list2, list1, nmemb*size);
list2 = list1;
}
- xfree(list2);
+ yasm_xfree(list2);
return (0);
#endif /*HAVE_MERGESORT*/
}