defined why2_calloc & why2_free
same thing as why2_malloc
This commit is contained in:
parent
3491d89a86
commit
e075c022fa
@ -7,4 +7,18 @@ void *why2_malloc(unsigned long size)
|
||||
//TODO: Add linked list
|
||||
|
||||
return malloc(size);
|
||||
}
|
||||
|
||||
void *why2_calloc(unsigned long element, unsigned long size)
|
||||
{
|
||||
//TODO: Add linked list
|
||||
|
||||
return calloc(element, size);
|
||||
}
|
||||
|
||||
void why2_free(void *pointer)
|
||||
{
|
||||
//TODO: Add linked list
|
||||
|
||||
free(pointer);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user