summaryrefslogtreecommitdiffstats
path: root/src/u_path.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/u_path.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/u_path.c b/src/u_path.c
index 0223164..02f3059 100644
--- a/src/u_path.c
+++ b/src/u_path.c
@@ -42,7 +42,7 @@ static void u_get_fullpath(char fullpath[],
}
}
-static int8_t u_read_dir(DIR *dir,
+static char u_read_dir(DIR *dir,
struct s_path s,
const char com[],
char fullpath[])
@@ -63,7 +63,7 @@ static int8_t u_read_dir(DIR *dir,
return (-1);
}
-uint8_t u_search_in_path(char fullpath[],
+unsigned char u_search_in_path(char fullpath[],
const char com[],
size_t dstsize,
t_msh *msh)
@@ -71,7 +71,7 @@ uint8_t u_search_in_path(char fullpath[],
char tmp[ARG_MAX];
struct s_path s;
DIR *dir;
- int8_t ret;
+ char ret;
if (u_get_var_value(tmp, "$PATH", ARG_MAX, msh) != 0)
return (2);