summaryrefslogtreecommitdiffstats
path: root/src/b_h.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/b_h.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/b_h.c b/src/b_h.c
index 23e2ef5..19d9bca 100644
--- a/src/b_h.c
+++ b/src/b_h.c
@@ -22,7 +22,7 @@
static unsigned long b_get_total_hist(t_msh *msh)
{
unsigned long total;
- char *ptr;
+ char *ptr;
total = 0;
if (msh->prev_hist != NULL)
@@ -45,7 +45,9 @@ static unsigned long b_get_total_hist(t_msh *msh)
return (total);
}
-static unsigned int b_print_prev_history(unsigned long asked, unsigned long total, t_msh *msh)
+static unsigned int b_print_prev_history(unsigned long asked,
+ unsigned long total,
+ t_msh *msh)
{
char *hist;
char *tok;
@@ -72,7 +74,9 @@ static unsigned int b_print_prev_history(unsigned long asked, unsigned long tota
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;
@@ -95,7 +99,7 @@ static void b_print_history(unsigned long asked, unsigned long total, t_msh *ms
ft_memdel((void*)&hist);
}
-static t_bool b_check_numeric(const char arg[])
+static t_bool b_check_numeric(const char arg[])
{
char *ptr;
@@ -111,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);