scram: remove amlalloc()/amlfree()
these are now part of libaml but can still be overridden when needed.
This commit is contained in:
parent
616eb1f9ba
commit
1eb2c757e7
|
@ -29,16 +29,6 @@ enum {
|
||||||
Tblsz = 4+4+1+1+6+8+4+4+4,
|
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
|
static ulong
|
||||||
get32(uchar *p){
|
get32(uchar *p){
|
||||||
return p[3]<<24 | p[2]<<16 | p[1]<<8 | p[0];
|
return p[3]<<24 | p[2]<<16 | p[1]<<8 | p[0];
|
||||||
|
|
Loading…
Reference in a new issue