summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/b_sqb_nbr.c9
-rw-r--r--src/b_sqb_nbr.h6
2 files changed, 5 insertions, 10 deletions
diff --git a/src/b_sqb_nbr.c b/src/b_sqb_nbr.c
index 6ea2456..728a752 100644
--- a/src/b_sqb_nbr.c
+++ b/src/b_sqb_nbr.c
@@ -15,10 +15,7 @@
#include "d_define.h"
-static t_bool
- b_sqb_nbr_tests(uint8_t id,
- int32_t n1,
- int32_t n2)
+static t_bool b_sqb_nbr_tests(uint8_t id, int32_t n1, int32_t n2)
{
if (id == FT_ID_SQB_EQ && n1 == n2)
return (TRUE);
@@ -35,9 +32,7 @@ static t_bool
return (FALSE);
}
-uint8_t
- b_sqb_nbr(uint8_t id,
- char *argv[])
+uint8_t b_sqb_nbr(uint8_t id, char *argv[])
{
if (b_sqb_nbr_tests(id, ft_atoi(argv[0]), ft_atoi(argv[2])) == TRUE)
return (0);
diff --git a/src/b_sqb_nbr.h b/src/b_sqb_nbr.h
index ecdf901..28eccd1 100644
--- a/src/b_sqb_nbr.h
+++ b/src/b_sqb_nbr.h
@@ -10,10 +10,10 @@
/* */
/* ************************************************************************** */
-#ifndef B_SQB_NBR_H
-#define B_SQB_NBR_H
+#ifndef FT_B_SQB_NBR_H
+# define FT_B_SQB_NBR_H
-#include <stdint.h>
+# include <stdint.h>
uint8_t b_sqb_nbr(uint8_t id, char *argv[]);