diff options
Diffstat (limited to '')
-rw-r--r-- | src/m_argv.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/m_argv.c b/src/m_argv.c index d29ac5d..90ddd27 100644 --- a/src/m_argv.c +++ b/src/m_argv.c @@ -13,7 +13,6 @@ #include <sys/stat.h> #include <libft.h> #include <stdlib.h> -#include <stdint.h> #include <fcntl.h> #include <unistd.h> @@ -31,7 +30,7 @@ static char *m_get_prev_hist(t_msh *msh) struct stat sb; char *hist; char histfile[PATH_MAX]; - int32_t fd; + int fd; hist = NULL; u_get_var_value(histfile, "$HISTFILE", PATH_MAX, msh); @@ -51,7 +50,7 @@ static char *m_get_prev_hist(t_msh *msh) static void m_read_script(char *const argv[], t_msh *msh) { - int32_t fd; + int fd; if ((fd = open(*(argv + 1), O_RDONLY)) == -1) f_open_file(*(argv + 1), msh); @@ -62,7 +61,7 @@ static void m_read_script(char *const argv[], t_msh *msh) close(fd); } -uint8_t m_argv(int argc, char *const argv[], t_msh *msh) +unsigned char m_argv(int argc, char *const argv[], t_msh *msh) { if (argc == 1) { |