summaryrefslogtreecommitdiffstats
path: root/src/b_sqb_err.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:10:26 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:10:26 +0200
commit8fcc5fc20dda1d0ae7ac2995a4714362baf9e955 (patch)
tree9652d0e8bedf23bb23640d5c5ea06cd3be677287 /src/b_sqb_err.c
parentNormed b_sqb (diff)
download42-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 '')
-rw-r--r--src/b_sqb_err.c19
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);