From e05b0c9079149e45ffd0c151c2682235b017a3e9 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 30 Sep 2020 16:56:47 +0200 Subject: Normed alias_print --- src/b_alias_print.c | 15 +++++---------- src/b_alias_print.h | 6 +++--- 2 files changed, 8 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/b_alias_print.c b/src/b_alias_print.c index ebe2708..aebd644 100644 --- a/src/b_alias_print.c +++ b/src/b_alias_print.c @@ -16,8 +16,7 @@ #include "d_define.h" #include "s_struct.h" -static char - **b_alloc_buff(t_lalias *ptr, size_t i) +static char **b_alloc_buff(t_lalias *ptr, size_t i) { char **buff; @@ -39,8 +38,7 @@ static char return (buff); } -static void - b_fill_buff(t_lalias *ptr, char *buff[]) +static void b_fill_buff(t_lalias *ptr, char *buff[]) { size_t i; @@ -53,8 +51,7 @@ static void } } -static void - b_sort_buff(char *buff[]) +static void b_sort_buff(char *buff[]) { size_t i; int cmp; @@ -78,8 +75,7 @@ static void } } -static void - b_print_buff(char *buff[]) +static void b_print_buff(char *buff[]) { char **ptr; @@ -91,8 +87,7 @@ static void } } -void - b_print_alias_list(t_msh *msh) +void b_print_alias_list(t_msh *msh) { t_lalias *ptr; char **buff; diff --git a/src/b_alias_print.h b/src/b_alias_print.h index a3d2ee3..ea39e21 100644 --- a/src/b_alias_print.h +++ b/src/b_alias_print.h @@ -10,10 +10,10 @@ /* */ /* ************************************************************************** */ -#ifndef B_ALIAS_PRINT_H -#define B_ALIAS_PRINT_H +#ifndef FT_B_ALIAS_PRINT_H +# define FT_B_ALIAS_PRINT_H -#include "s_struct.h" +# include "s_struct.h" void b_print_alias_list(t_msh *msh); -- cgit v1.2.3