1
This commit is contained in:
parent
8e70deabc3
commit
4c789ad847
5 changed files with 4 additions and 19 deletions
|
|
@ -45,8 +45,7 @@ malloc.c\
|
|||
node_lib.c\
|
||||
realloc.c\
|
||||
reallocf.c\
|
||||
show_alloc_mem.c\
|
||||
valloc.c
|
||||
show_alloc_mem.c
|
||||
|
||||
SRCS = $(addprefix $(SRC_DIR), $(SRC_BASE))
|
||||
OBJS = $(addprefix $(OBJ_DIR), $(SRC_BASE:.c=.o))
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2017/10/22 14:35:06 by jhalford #+# #+# */
|
||||
/* Updated: 2017/10/22 17:30:13 by jhalford ### ########.fr */
|
||||
/* Updated: 2017/10/22 18:44:24 by jhalford ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2017/10/22 17:32:51 by jhalford #+# #+# */
|
||||
/* Updated: 2017/10/22 17:36:16 by jhalford ### ########.fr */
|
||||
/* Updated: 2017/10/22 18:45:28 by jhalford ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2017/02/17 12:28:02 by jhalford #+# #+# */
|
||||
/* Updated: 2017/10/22 17:29:44 by jhalford ### ########.fr */
|
||||
/* Updated: 2017/10/22 18:45:48 by jhalford ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -56,7 +56,6 @@ void *ft_malloc(size_t size)
|
|||
t_node *node;
|
||||
void *ret;
|
||||
|
||||
g_malloc_debug = 0;
|
||||
if (g_malloc_debug >= 2)
|
||||
show_alloc_mem();
|
||||
size += M_NODEHEAD;
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* valloc.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2017/10/22 15:00:53 by jhalford #+# #+# */
|
||||
/* Updated: 2017/10/22 17:11:32 by jhalford ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "malloc_internal.h"
|
||||
Loading…
Reference in a new issue