diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 18:10:26 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 18:10:26 +0200 |
commit | 8fcc5fc20dda1d0ae7ac2995a4714362baf9e955 (patch) | |
tree | 9652d0e8bedf23bb23640d5c5ea06cd3be677287 /src/b_sqb_err.c | |
parent | Normed b_sqb (diff) | |
download | 42-minishell-8fcc5fc20dda1d0ae7ac2995a4714362baf9e955.tar.gz 42-minishell-8fcc5fc20dda1d0ae7ac2995a4714362baf9e955.tar.bz2 42-minishell-8fcc5fc20dda1d0ae7ac2995a4714362baf9e955.tar.xz 42-minishell-8fcc5fc20dda1d0ae7ac2995a4714362baf9e955.tar.zst 42-minishell-8fcc5fc20dda1d0ae7ac2995a4714362baf9e955.zip |
Normed b_sqb_err
Diffstat (limited to 'src/b_sqb_err.c')
-rw-r--r-- | src/b_sqb_err.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/b_sqb_err.c b/src/b_sqb_err.c index 6c68841..0faecaf 100644 --- a/src/b_sqb_err.c +++ b/src/b_sqb_err.c @@ -17,9 +17,7 @@ #include "d_define.h" #include "u_utils.h" -static uint8_t - b_single_op(const uint64_t argc, - char *argv[]) +static uint8_t b_single_op(const uint64_t argc, char *argv[]) { if (argc > 3) { @@ -29,9 +27,7 @@ static uint8_t return (0); } -static uint8_t - b_expect_arg(const uint64_t argc, - char *argv[]) +static uint8_t b_expect_arg(const uint64_t argc, char *argv[]) { if (argc == 3) { @@ -41,9 +37,7 @@ static uint8_t return (0); } -static uint8_t - b_double_op(const uint64_t argc, - char *argv[]) +static uint8_t b_double_op(const uint64_t argc, char *argv[]) { if (argc > 4) { @@ -53,8 +47,7 @@ static uint8_t return (0); } -static uint8_t - b_bad_nbr(char *argv[]) +static uint8_t b_bad_nbr(char *argv[]) { char *ptr; @@ -83,9 +76,7 @@ static uint8_t return (0); } -uint8_t - b_sqb_err_check(uint8_t id, - char *argv[]) +uint8_t b_sqb_err_check(uint8_t id, char *argv[]) { const uint64_t argc = u_builtins_get_argc((const char**)argv); |