diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 19:59:20 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 19:59:20 +0100 |
commit | c5aae008dee36276154882d8fd56c3bdeb473474 (patch) | |
tree | a40740914847ebf39a5f8cb3acf6a48c8b9d61ef /src/u_vars_next.c | |
parent | TODO update (diff) | |
download | 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.gz 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.bz2 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.xz 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.zst 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.zip |
Now norme
Diffstat (limited to '')
-rw-r--r-- | src/u_vars_next.c | 7 |
1 files changed, 3 insertions, 4 deletions
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 <libft.h> -#include <stdint.h> #include <stdlib.h> #ifdef __linux__ # include <linux/limits.h> @@ -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) { |