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_vars_next.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/u_vars_next.c') diff --git a/src/u_vars_next.c b/src/u_vars_next.c index 0e3c33d..05538d4 100644 --- a/src/u_vars_next.c +++ b/src/u_vars_next.c @@ -11,7 +11,6 @@ /* ************************************************************************** */ #include -#include #include #ifdef __linux__ # include @@ -25,10 +24,10 @@ #include "u_parse.h" #include "u_utils.h" -static int64_t u_get_env_var_line(const char varname[], t_msh *msh) +static long u_get_env_var_line(const char varname[], t_msh *msh) { char **env_dup; - int64_t i; + long i; env_dup = u_get_env_var_names(msh); i = 0; @@ -85,7 +84,7 @@ void u_subst_var_value(const char varname[], t_msh *msh) { char new_line_fmt[ARG_MAX]; - int64_t env_line; + long env_line; if ((env_line = u_get_env_var_line(varname + 1, msh)) > -1) { -- cgit v1.2.3