summaryrefslogtreecommitdiffstats
path: root/src/b_echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/b_echo.c')
-rw-r--r--src/b_echo.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/b_echo.c b/src/b_echo.c
index f931f36..f62b2be 100644
--- a/src/b_echo.c
+++ b/src/b_echo.c
@@ -11,7 +11,6 @@
/* ************************************************************************** */
#include <libft.h>
-#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
@@ -29,11 +28,11 @@ static void b_print_content(char *ptr[])
}
}
-uint8_t b_echo(char *args[], t_msh *msh)
+unsigned char b_echo(char *args[], t_msh *msh)
{
- const uint64_t argc = u_builtins_get_argc((const char **)args);
+ const unsigned long argc = u_builtins_get_argc((const char **)args);
char **ptr;
- int8_t nopt;
+ char nopt;
(void)msh;
ptr = args;