From 7de2b42d50e3c05cc143e7b51284009b5e185581 Mon Sep 17 00:00:00 2001 From: forsyth Date: Tue, 10 Aug 2010 23:06:28 +0100 Subject: 20100810-2306 --- libinterp/load.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'libinterp/load.c') diff --git a/libinterp/load.c b/libinterp/load.c index 8645338a..2e3aa216 100644 --- a/libinterp/load.c +++ b/libinterp/load.c @@ -79,23 +79,6 @@ load(char *path) return readmod(path, nil, 0); } -Type* -dtype(void (*destroy)(Heap*, int), int size, uchar *map, int mapsize) -{ - Type *t; - - t = malloc(sizeof(Type)+mapsize); - if(t != nil) { - t->ref = 1; - t->free = destroy; - t->mark = markheap; - t->size = size; - t->np = mapsize; - memmove(t->map, map, mapsize); - } - return t; -} - int brpatch(Inst *ip, Module *m) { -- cgit v1.2.3