diff options
-rw-r--r-- | src/b_alias.c | 8 | ||||
-rw-r--r-- | src/b_h.c | 12 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/b_alias.c b/src/b_alias.c index 8c9af00..02dfedb 100644 --- a/src/b_alias.c +++ b/src/b_alias.c @@ -26,9 +26,9 @@ #include "u_utils.h" static unsigned char b_print_arg_next(char *ptr, - const char arg[], - t_bool invalid, - t_msh *msh) + const char arg[], + t_bool invalid, + t_msh *msh) { char val[ARG_MAX]; @@ -123,7 +123,7 @@ unsigned char b_alias(char *args[], t_msh *msh) void b_alias_mute(char *args[], t_msh *msh) { const unsigned long argc = u_builtins_get_argc((const char**)args); - int i; + int i; if (argc > 0) { @@ -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); |