From f9c782a236808b91ab5f0c71af8098d35ff95b7c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 30 Sep 2020 18:08:36 +0200 Subject: Normed b_sqb --- src/b_sqb.c | 12 +++--------- src/b_sqb.h | 10 +++++----- 2 files changed, 8 insertions(+), 14 deletions(-) (limited to 'src') 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 +# include -#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 -- cgit v1.2.3