summaryrefslogtreecommitdiffstats
path: root/src/b_echo.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-28 01:26:44 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-28 01:26:44 +0100
commitf6faf88cd0991be3184af67d5fa271b12f70e925 (patch)
tree02c283541fd2c0b4ccacd31172cccf2ba9711c51 /src/b_echo.c
parentNorming in progress (diff)
download42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.gz
42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.bz2
42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.xz
42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.zst
42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.zip
Norming
Diffstat (limited to 'src/b_echo.c')
-rw-r--r--src/b_echo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/b_echo.c b/src/b_echo.c
index f62b2be..b27d099 100644
--- a/src/b_echo.c
+++ b/src/b_echo.c
@@ -17,7 +17,7 @@
#include "s_struct.h"
#include "u_utils.h"
-static void b_print_content(char *ptr[])
+static void b_print_content(char *ptr[])
{
ft_printf("%s", *ptr);
ptr++;
@@ -28,11 +28,11 @@ static void b_print_content(char *ptr[])
}
}
-unsigned char b_echo(char *args[], t_msh *msh)
+unsigned char b_echo(char *args[], t_msh *msh)
{
const unsigned long argc = u_builtins_get_argc((const char **)args);
- char **ptr;
- char nopt;
+ char **ptr;
+ char nopt;
(void)msh;
ptr = args;