]> granicus.if.org Git - gc/commit
Adjust code indentation of malloc/calloc/str[n]dup
authorIvan Maidanski <ivmai@mail.ru>
Thu, 16 Apr 2015 07:33:16 +0000 (10:33 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 11 May 2015 15:59:40 +0000 (18:59 +0300)
commitff923443350baa49b3910030f68e3f53d0ba9cef
treed77c9beec8f5159dd427431d05c97aa92f3a51d2
parent25d17297f9e258185e2f8ca29029ef3c89dba83d
Adjust code indentation of malloc/calloc/str[n]dup
(and do not define GC_init_lib_bounds if unused)

* malloc.c (GC_debug_malloc_replacement): Do not define/undefine macro
if REDIRECT_MALLOC_IN_HEADER.
* malloc.c (GC_libpthread_start, GC_libpthread_start,
GC_libpthread_end, GC_libld_start, GC_init_lib_bounds): Do not define
if REDIRECT_MALLOC_IN_HEADER.
* malloc.c (GC_debug_malloc_replacement, malloc, GC_init_lib_bounds,
calloc, strdup, strndup, free): Reformat code (adjust indentation) and
comments.
* malloc (free): Do not call GC_free if IGNORE_FREE defined.

Conflicts:

malloc.c
malloc.c