projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
689b544
)
optimized heap_addreference
author
phil
<none@none>
Wed, 15 Sep 1999 11:25:21 +0000
(11:25 +0000)
committer
phil
<none@none>
Wed, 15 Sep 1999 11:25:21 +0000
(11:25 +0000)
mm/heap2.c
patch
|
blob
|
history
diff --git
a/mm/heap2.c
b/mm/heap2.c
index 9264c204fdc434f7e6c83b8f32461e28f229e5ac..2a6827ff41bc2a2ca2d599e10e4e631e49a8bd60 100644
(file)
--- a/
mm/heap2.c
+++ b/
mm/heap2.c
@@
-353,6
+353,19
@@
heap_add_address_to_address_list(address_list_node** list, void* address)
}
+inline
+static
+void
+heap_add_address_to_address_list_unsorted(address_list_node** list,
+ void* address)
+{
+ address_list_node* new_node = malloc(sizeof(address_list_node));
+ new_node->address = address;
+ new_node->next = *list;
+ *list = new_node;
+}
+
+
inline
static
void