diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-28 01:29:22 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-28 01:29:22 +0100 |
commit | c238d805b24b1a1470c43192346988b1f3382f32 (patch) | |
tree | 65a350d90f5f8a1876d9e8f481050761f34b57b7 /src/b_h.c | |
parent | Norming (diff) | |
download | 42-minishell-c238d805b24b1a1470c43192346988b1f3382f32.tar.gz 42-minishell-c238d805b24b1a1470c43192346988b1f3382f32.tar.bz2 42-minishell-c238d805b24b1a1470c43192346988b1f3382f32.tar.xz 42-minishell-c238d805b24b1a1470c43192346988b1f3382f32.tar.zst 42-minishell-c238d805b24b1a1470c43192346988b1f3382f32.zip |
Normed
Diffstat (limited to '')
-rw-r--r-- | src/b_h.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -45,7 +45,7 @@ static unsigned long b_get_total_hist(t_msh *msh) return (total); } -static unsigned int b_print_prev_history(unsigned long asked, +static unsigned int b_print_prev_history(unsigned long asked, unsigned long total, t_msh *msh) { @@ -74,9 +74,9 @@ static unsigned int b_print_prev_history(unsigned long asked, return (i); } -static void b_print_history(unsigned long asked, - unsigned long total, - t_msh *msh) +static void b_print_history(unsigned long asked, + unsigned long total, + t_msh *msh) { char *hist; char *tok; @@ -99,7 +99,7 @@ static void b_print_history(unsigned long asked, ft_memdel((void*)&hist); } -static t_bool b_check_numeric(const char arg[]) +static t_bool b_check_numeric(const char arg[]) { char *ptr; @@ -115,7 +115,7 @@ static t_bool b_check_numeric(const char arg[]) return (TRUE); } -unsigned char b_h(char *args[], t_msh *msh) +unsigned char b_h(char *args[], t_msh *msh) { const unsigned long argc = u_builtins_get_argc((const char **)args); |