diff options
Diffstat (limited to '')
-rw-r--r-- | src/u_vars.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/u_vars.c b/src/u_vars.c index e096730..266b94b 100644 --- a/src/u_vars.c +++ b/src/u_vars.c @@ -20,7 +20,7 @@ #include "s_struct.h" #include "u_utils.h" -static void u_get_frm_env(char str[], +static void u_get_frm_env(char str[], const char varname[], size_t dstsize, t_msh *msh) @@ -49,12 +49,12 @@ static void u_get_frm_env(char str[], ft_delwords(env_dup); } -static void u_get_special_var(char str[], - const char varname[], - size_t dstsize, - t_msh *msh) +static void u_get_special_var(char str[], + const char varname[], + size_t dstsize, + t_msh *msh) { - char tmp[255]; + char tmp[255]; int n; if (ft_strncmp(varname, M_RET_VAR, 3) == 0) @@ -76,7 +76,7 @@ static void u_get_special_var(char str[], } } -void u_get_custom_var(char str[], +void u_get_custom_var(char str[], const char varname[], size_t dstsize, t_msh *msh) @@ -109,10 +109,10 @@ void u_get_custom_var(char str[], ** varname[] wasn't found. */ -unsigned char u_get_var_value(char str[], - const char varname[], - size_t dstsize, - t_msh *msh) +unsigned char u_get_var_value(char str[], + const char varname[], + size_t dstsize, + t_msh *msh) { str[0] = C_NUL; u_get_special_var(str, varname, dstsize, msh); |