fix compilation error on newer clang version, fix some norm errors and start doing show_alloc_mem_ex function

This commit is contained in:
2025-02-14 19:38:42 +01:00
parent 561211f709
commit f5b2f8b8bf
14 changed files with 123 additions and 32 deletions

16
main.c
View File

@ -1,9 +1,21 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/14 17:19:23 by tomoron #+# #+# */
/* Updated: 2025/02/14 17:19:59 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
#include "srcs/includes/malloc.h"
#include <stdio.h>
int main(void)
int main(void)
{
void *ptr;
void *ptr;
printf("%zu\n", SMALL_CHUNK_SIZE);
ptr = malloc(1203);