diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 19:59:20 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 19:59:20 +0100 |
commit | c5aae008dee36276154882d8fd56c3bdeb473474 (patch) | |
tree | a40740914847ebf39a5f8cb3acf6a48c8b9d61ef /src/b_exit.c | |
parent | TODO update (diff) | |
download | 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.gz 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.bz2 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.xz 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.zst 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.zip |
Now norme
Diffstat (limited to 'src/b_exit.c')
-rw-r--r-- | src/b_exit.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/b_exit.c b/src/b_exit.c index 113313d..11a72a3 100644 --- a/src/b_exit.c +++ b/src/b_exit.c @@ -12,7 +12,6 @@ #include <libft.h> #include <stdlib.h> -#include <stdint.h> #include <unistd.h> #include "f_fail.h" @@ -25,10 +24,10 @@ ** TODO: handle non-numeric args[0] */ -uint8_t b_exit(char *args[], t_msh *msh) +unsigned char b_exit(char *args[], t_msh *msh) { - uint8_t ret; - const uint64_t argc = u_builtins_get_argc((const char**)args); + unsigned char ret; + const unsigned long argc = u_builtins_get_argc((const char**)args); if (argc > 1) { |