program->symdisc.key = offsetof(Exid_t, name);
if (!(program->symbols = dtopen(&program->symdisc, Dtset)) ||
!(program->tmp = sfstropen()) ||
- !(program->vm = vmopen(Vmdcheap, Vmbest, 0)) ||
- !(program->ve = vmopen(Vmdcheap, Vmbest, 0)))
+ !(program->vm = vmopen(Vmbest)) ||
+ !(program->ve = vmopen(Vmbest)))
{
exclose(program, 1);
return 0;
extern Vmalloc_t *Vmheap; /* heap region */
extern Vmalloc_t *Vmregion; /* malloc region */
- extern Vmalloc_t *vmopen(Vmdisc_t *, Vmethod_t *, int);
+ extern Vmalloc_t *vmopen(Vmethod_t *);
extern int vmclose(Vmalloc_t *);
extern int vmclear(Vmalloc_t *);
*/
/**
- * @param disc ignored
* @param meth method to manage space
- * @param mode ignored type of region
*/
-Vmalloc_t *vmopen(Vmdisc_t *disc, Vmethod_t *meth, int mode) {
+Vmalloc_t *vmopen(Vmethod_t *meth) {
Vmalloc_t *vm;
- (void)disc;
- (void)mode;
-
vm = malloc(sizeof(*vm));
if (vm == NULL) {
return NULL;