summaryrefslogtreecommitdiffstats
path: root/src/u_vars.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 22:38:54 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 22:38:54 +0200
commit280ecd341f1ec88abe325fa69b197bca3e43d2f1 (patch)
tree3f10bdb634f5a727bbf2e410072bc8f6537310e4 /src/u_vars.c
parentIn progress (diff)
download42-minishell-280ecd341f1ec88abe325fa69b197bca3e43d2f1.tar.gz
42-minishell-280ecd341f1ec88abe325fa69b197bca3e43d2f1.tar.bz2
42-minishell-280ecd341f1ec88abe325fa69b197bca3e43d2f1.tar.xz
42-minishell-280ecd341f1ec88abe325fa69b197bca3e43d2f1.tar.zst
42-minishell-280ecd341f1ec88abe325fa69b197bca3e43d2f1.zip
Now can subst env vars
Diffstat (limited to 'src/u_vars.c')
-rw-r--r--src/u_vars.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/u_vars.c b/src/u_vars.c
index 2b7fc4a..cd9d3f2 100644
--- a/src/u_vars.c
+++ b/src/u_vars.c
@@ -124,10 +124,10 @@ static char
/*
** char*
-** get_var_value(const char varname[], t_msh *msh);
+** u_get_var_value(const char varname[], t_msh *msh);
**
** DESCRIPTION
-** The get_var_value() function returns
+** The u_get_var_value() function returns
** a heap-allocated, null-terminated string
** that may later be free'd containing the
** value of the variable varname[] including
@@ -136,7 +136,7 @@ static char
*/
char
- *get_var_value(const char varname[],
+ *u_get_var_value(const char varname[],
t_msh *msh)
{
/* TODO: check behaviour on empty vars -> "QWE=" */