1 #include <u.h> 2 #include <libc.h> 3 #include <aml.h> 4 5 void* amlalloc(int n)6 amlalloc(int n) 7 { 8 return mallocz(n, 1); 9 } 10 11 void amlfree(void * p)12 amlfree(void *p) 13 { 14 free(p); 15 } 16