diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2010-05-21 16:03:32 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2010-05-21 16:03:32 -0500 |
commit | a0e3bdeaed824af328e0bafc59e69ebfd1b3de4e (patch) | |
tree | 469c99443aface768c7b70a018d34409cec432d8 /src/include/stdlib.h | |
parent | 343cc75d83b7d71a23adb49e0d530eb59997a154 (diff) | |
download | talos-hostboot-a0e3bdeaed824af328e0bafc59e69ebfd1b3de4e.tar.gz talos-hostboot-a0e3bdeaed824af328e0bafc59e69ebfd1b3de4e.zip |
malloc / free support
Diffstat (limited to 'src/include/stdlib.h')
-rw-r--r-- | src/include/stdlib.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/stdlib.h b/src/include/stdlib.h new file mode 100644 index 000000000..46c463119 --- /dev/null +++ b/src/include/stdlib.h @@ -0,0 +1,18 @@ +#ifndef __STDLIB_H +#define __STDLIB_H + +#include <stdint.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +void* malloc(size_t); +void free(void*); + +#ifdef __cplusplus +}; +#endif + +#endif |