projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unneeded ifdef.
[bertos.git]
/
bertos
/
struct
/
heap.c
diff --git
a/bertos/struct/heap.c
b/bertos/struct/heap.c
index 4800f1b2048af44c87091ea2afbae58e85f4f812..4c00bd7ca0ed1ebd3b24a6048b6b8f26b8112d24 100644
(file)
--- a/
bertos/struct/heap.c
+++ b/
bertos/struct/heap.c
@@
-204,6
+204,9
@@
size_t heap_freeSpace(struct Heap *h)
#if CONFIG_HEAP_MALLOC
+/**
+ * Standard malloc interface
+ */
void *heap_malloc(struct Heap* h, size_t size)
{
size_t *mem;
@@
-215,6
+218,9
@@
void *heap_malloc(struct Heap* h, size_t size)
return mem;
}
+/**
+ * Standard calloc interface
+ */
void *heap_calloc(struct Heap* h, size_t size)
{
void *mem;