From c5aae008dee36276154882d8fd56c3bdeb473474 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 27 Oct 2020 19:59:20 +0100 Subject: Now norme --- src/u_path.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/u_path.c') 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); -- cgit v1.2.3