From 3296f4a71c970be0e04a5b671f5d1a3a02c157b0 Mon Sep 17 00:00:00 2001
From: JozanLeClerc <bousset.rudy@gmail.com>
Date: Wed, 30 Sep 2020 18:16:23 +0200
Subject: Normed b_type

---
 src/b_type.c | 8 ++++----
 src/b_type.h | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/b_type.c b/src/b_type.c
index c490aae..e0ae270 100644
--- a/src/b_type.c
+++ b/src/b_type.c
@@ -24,7 +24,7 @@
 #include "u_path.h"
 #include "u_utils.h"
 
-static int8_t	absolute_path_exists(char com[])
+static int8_t	b_absolute_path_exists(char com[])
 {
 	int32_t	fd;
 	DIR		*dir;
@@ -42,11 +42,11 @@ static int8_t	absolute_path_exists(char com[])
 	return (0);
 }
 
-static void		type_get_path(char fullpath[], char com[], t_msh *msh)
+static void		b_type_get_path(char fullpath[], char com[], t_msh *msh)
 {
 	if (ft_ischarset("/.", com[0]) == TRUE)
 	{
-		if (absolute_path_exists(com))
+		if (b_absolute_path_exists(com))
 		{
 			ft_strlcpy(fullpath, com, PATH_MAX);
 			return ;
@@ -61,7 +61,7 @@ static uint8_t	b_check_nonbuilt(char *ptr, uint8_t ret, t_msh *msh)
 	char	fullpath[PATH_MAX];
 
 	fullpath[0] = C_NUL;
-	type_get_path(fullpath, ptr, msh);
+	b_type_get_path(fullpath, ptr, msh);
 	if (fullpath[0] != C_NUL)
 		ft_printf("%s is %s\n", ptr, fullpath);
 	else
diff --git a/src/b_type.h b/src/b_type.h
index 474ba26..55ca34f 100644
--- a/src/b_type.h
+++ b/src/b_type.h
@@ -10,12 +10,12 @@
 /*                                                                            */
 /* ************************************************************************** */
 
-#ifndef B_TYPE_H
-#define B_TYPE_H
+#ifndef FT_B_TYPE_H
+# define FT_B_TYPE_H
 
-#include <stdint.h>
+# include <stdint.h>
 
-#include "s_struct.h"
+# include "s_struct.h"
 
 uint8_t	b_type(char *args[], t_msh *msh);
 
-- 
cgit v1.2.3