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.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.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/u_vars.c b/src/u_vars.c index 3b4b553..e096730 100644 --- a/src/u_vars.c +++ b/src/u_vars.c @@ -12,7 +12,6 @@ #include <libft.h> #include <stdlib.h> -#include <stdint.h> #include "d_define.h" #include "f_fail.h" @@ -56,7 +55,7 @@ static void u_get_special_var(char str[], t_msh *msh) { char tmp[255]; - int32_t n; + int n; if (ft_strncmp(varname, M_RET_VAR, 3) == 0) { @@ -110,7 +109,7 @@ void u_get_custom_var(char str[], ** varname[] wasn't found. */ -uint8_t u_get_var_value(char str[], +unsigned char u_get_var_value(char str[], const char varname[], size_t dstsize, t_msh *msh) |