]> git.ipfire.org Git - thirdparty/gcc.git/commit
memory.c (malloc_t): Remove.
authorJakub Jelinek <jakub@redhat.com>
Sat, 1 Oct 2005 11:55:02 +0000 (13:55 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 1 Oct 2005 11:55:02 +0000 (13:55 +0200)
commit0355186042ac451a8c12efd5296cf0c637d3094c
tree4794acf9f9d0c32f98133bfa076212a3a9313df4
parent1449b8cba879ff1bedf7863f63ef079b2026c0a1
memory.c (malloc_t): Remove.

* runtime/memory.c (malloc_t): Remove.
(GFC_MALLOC_MAGIC, HEADER_SIZE, DATA_POINTER, DATA_HEADER): Remove.
(mem_root, runtime_cleanup, malloc_with_header): Remove.
(internal_malloc_size): Use just get_mem if size != 0, return NULL
otherwise.
(internal_free): Just free if non-NULL.
(internal_realloc_size): Remove debugging stuff.
(allocate_size): Use malloc directly, remove debugging stuff.
(deallocate): Use free directly, fix error message wording.

From-SVN: r104856
libgfortran/ChangeLog
libgfortran/runtime/memory.c