a
This commit is contained in:
18
kern/smalloc.c
Normal file
18
kern/smalloc.c
Normal file
@ -0,0 +1,18 @@
|
||||
#include "u.h"
|
||||
#include "lib.h"
|
||||
#include "dat.h"
|
||||
#include "fns.h"
|
||||
#include "error.h"
|
||||
|
||||
void*
|
||||
smalloc(ulong n)
|
||||
{
|
||||
return mallocz(n, 1);
|
||||
}
|
||||
|
||||
void*
|
||||
malloc(ulong n)
|
||||
{
|
||||
return mallocz(n, 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user