Moved tasks/* into containers/posix

This commit is contained in:
Bahadir Balban
2009-08-25 14:34:21 +03:00
parent 117e3482b6
commit 87e2aeaf58
516 changed files with 27 additions and 27 deletions

View File

@@ -0,0 +1,19 @@
#ifndef __PRIVATE_MALLOC_H__
#define __PRIVATE_MALLOC_H__
#include <stddef.h>
#include <string.h>
void *kmalloc(size_t size);
void kfree(void *blk);
static inline void *kzalloc(size_t size)
{
void *buf = kmalloc(size);
memset(buf, 0, size);
return buf;
}
#endif /*__PRIVATE_MALLOC_H__ */