scram: remove amlalloc()/amlfree()

these are now part of libaml but can still be overridden
when needed.
This commit is contained in:
cinap_lenrek 2013-09-06 16:54:02 +02:00
parent 616eb1f9ba
commit 1eb2c757e7

View file

@ -29,16 +29,6 @@ enum {
Tblsz = 4+4+1+1+6+8+4+4+4,
};
void*
amlalloc(int n){
return mallocz(n, 1);
}
void
amlfree(void *p){
free(p);
}
static ulong
get32(uchar *p){
return p[3]<<24 | p[2]<<16 | p[1]<<8 | p[0];