git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel - Fixed up a lack of const-ness
[tpg/acess2.git]
/
Kernel
/
include
/
heap.h
diff --git
a/Kernel/include/heap.h
b/Kernel/include/heap.h
index
28d33c0
..
b058e8b
100644
(file)
--- a/
Kernel/include/heap.h
+++ b/
Kernel/include/heap.h
@@
-20,4
+20,6
@@
extern void Heap_Validate(void);
#define free(ptr) Heap_Deallocate((ptr))
#define IsHeap(ptr) Heap_IsHeapAddr((ptr))
+#define strdup(Str) _strdup(_MODULE_NAME_"/"__FILE__, __LINE__, (Str))
+
#endif
UCC
git Repository :: git.ucc.asn.au