diff options
Diffstat (limited to 'src/b_type.c')
-rw-r--r-- | src/b_type.c | 8 |
1 files changed, 4 insertions, 4 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 |