diff options
| author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 18:08:36 +0200 | 
|---|---|---|
| committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 18:08:36 +0200 | 
| commit | f9c782a236808b91ab5f0c71af8098d35ff95b7c (patch) | |
| tree | f7955a2a275178f986e75833828434a33670d9b8 /src | |
| parent | Normed b_pwd (diff) | |
| download | 42-minishell-f9c782a236808b91ab5f0c71af8098d35ff95b7c.tar.gz 42-minishell-f9c782a236808b91ab5f0c71af8098d35ff95b7c.tar.bz2 42-minishell-f9c782a236808b91ab5f0c71af8098d35ff95b7c.tar.xz 42-minishell-f9c782a236808b91ab5f0c71af8098d35ff95b7c.tar.zst 42-minishell-f9c782a236808b91ab5f0c71af8098d35ff95b7c.zip  | |
Normed b_sqb
Diffstat (limited to '')
| -rw-r--r-- | src/b_sqb.c | 12 | ||||
| -rw-r--r-- | src/b_sqb.h | 10 | 
2 files changed, 8 insertions, 14 deletions
diff --git a/src/b_sqb.c b/src/b_sqb.c index a5a0fd5..d0e6daf 100644 --- a/src/b_sqb.c +++ b/src/b_sqb.c @@ -22,9 +22,7 @@  #include "s_struct.h"  #include "u_utils.h" -static uint8_t -	b_get_sqb_id(char *argv[], -				t_msh *msh) +static uint8_t	b_get_sqb_id(char *argv[], t_msh *msh)  {  	uint8_t	i; @@ -46,9 +44,7 @@ static uint8_t  	return (i);  } -static uint8_t -	b_eval_sqb(char *argv[], -			t_msh *msh) +static uint8_t	b_eval_sqb(char *argv[], t_msh *msh)  {  	uint8_t	id;  	uint8_t	ret; @@ -74,9 +70,7 @@ static uint8_t  	return (ret);  } -uint8_t -	b_sqb(char *args[], -		t_msh *msh) +uint8_t			b_sqb(char *args[], t_msh *msh)  {  	const uint64_t	argc = u_builtins_get_argc((const char**)args); diff --git a/src/b_sqb.h b/src/b_sqb.h index c0cfcb8..2f2a972 100644 --- a/src/b_sqb.h +++ b/src/b_sqb.h @@ -10,13 +10,13 @@  /*                                                                            */  /* ************************************************************************** */ -#ifndef B_SQB_H -#define B_SQB_H +#ifndef FT_B_SQB_H +# define FT_B_SQB_H -#include <stdint.h> +# include <stdint.h> -#include "s_struct.h" +# include "s_struct.h" -uint8_t	b_sqb(char *args[], t_msh *msh); +uint8_t b_sqb(char *args[], t_msh *msh);  #endif  | 
