* device/include/malloc.h: removed init_dynamic_memory
authorMaartenBrock <MaartenBrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 10 Dec 2006 15:04:52 +0000 (15:04 +0000)
committerMaartenBrock <MaartenBrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 10 Dec 2006 15:04:52 +0000 (15:04 +0000)
commita18a4b38667685c800b464aa6bc72751f8813025
treee6f920eef6377a86a20cb03cee619a6199627c3d
parentbc438f8bf9e7d912a41aa1087f8254ad5c0fed9a
* device/include/malloc.h: removed init_dynamic_memory
* device/lib/malloc.c: made init_dynamic_memory static and automatically
  call it once from malloc. Also use _sdcc_heap[] from _heap.c
* device/lib/_heap.c: new, added, contains _sdcc_heap[]
* device/lib/libsdcc.lib,
* device/lib/Makefile.in,
* support/regression/ports/mcs51-xstack-auto/spec.mk: added _heap.c
* doc/sdccman.lyx: documented use of new _heap.c
* support/regression/tests/malloc.c: removed init_dynamic_memory
* src/cdbFile.c(spacesToUnderscores): new function,
  (cdbWriteEndFunction, cdbWriteCLine): use spacesToUnderscores, fixes bug
  1068030

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4508 4a8a32a2-be11-0410-ad9d-d568d2c75423
ChangeLog
device/include/malloc.h
device/lib/Makefile.in
device/lib/_heap.c [new file with mode: 0644]
device/lib/libsdcc.lib
device/lib/malloc.c
doc/sdccman.lyx
src/cdbFile.c
support/regression/ports/mcs51-xstack-auto/spec.mk
support/regression/tests/malloc.c