diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 16:56:47 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 16:56:47 +0200 |
commit | e05b0c9079149e45ffd0c151c2682235b017a3e9 (patch) | |
tree | 0669bfe4ae785dc11f5e2f1d034e2ecb47f0de31 /src | |
parent | Test (diff) | |
download | 42-minishell-e05b0c9079149e45ffd0c151c2682235b017a3e9.tar.gz 42-minishell-e05b0c9079149e45ffd0c151c2682235b017a3e9.tar.bz2 42-minishell-e05b0c9079149e45ffd0c151c2682235b017a3e9.tar.xz 42-minishell-e05b0c9079149e45ffd0c151c2682235b017a3e9.tar.zst 42-minishell-e05b0c9079149e45ffd0c151c2682235b017a3e9.zip |
Normed alias_print
Diffstat (limited to 'src')
-rw-r--r-- | src/b_alias_print.c | 15 | ||||
-rw-r--r-- | src/b_alias_print.h | 6 |
2 files changed, 8 insertions, 13 deletions
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); |