norme fix

This commit is contained in:
2025-02-15 16:26:27 +01:00
parent 0a64743980
commit 13c3e9a77b
3 changed files with 26 additions and 28 deletions

View File

@ -6,13 +6,12 @@
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */ /* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/14 18:03:26 by tomoron #+# #+# */ /* Created: 2025/02/14 18:03:26 by tomoron #+# #+# */
/* Updated: 2025/02/15 16:19:00 by tomoron ### ########.fr */ /* Updated: 2025/02/15 16:25:42 by tomoron ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
#include "includes/malloc.h" #include "includes/malloc.h"
static void put_hex_padded(t_ul addr, int padding, int prefix) static void put_hex_padded(t_ul addr, int padding, int prefix)
{ {
int len; int len;
@ -68,8 +67,7 @@ static void hex_dump_show_line(char *addr, int len)
put_char_dot(addr[i]); put_char_dot(addr[i]);
i++; i++;
} }
write(1, "|", 1); write(1, "|\n", 2);
write(1, "\n", 1);
(void)len; (void)len;
} }

View File

@ -6,7 +6,7 @@
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */ /* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/30 12:19:34 by tomoron #+# #+# */ /* Created: 2024/11/30 12:19:34 by tomoron #+# #+# */
/* Updated: 2025/02/14 18:18:48 by tomoron ### ########.fr */ /* Updated: 2025/02/15 16:26:09 by tomoron ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */

View File

@ -6,7 +6,7 @@
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */ /* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/14 17:26:41 by tomoron #+# #+# */ /* Created: 2025/02/14 17:26:41 by tomoron #+# #+# */
/* Updated: 2025/02/14 17:48:53 by tomoron ### ########.fr */ /* Updated: 2025/02/15 16:23:04 by tomoron ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */