summaryrefslogtreecommitdiffstats
path: root/src/u_vars.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/u_vars.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/u_vars.c b/src/u_vars.c
index 3f3a1a5..2b7fc4a 100644
--- a/src/u_vars.c
+++ b/src/u_vars.c
@@ -123,11 +123,11 @@ static char
}
/*
-** char *
-** subst_var_value(const char varname[], const t_msh *msh);
+** char*
+** get_var_value(const char varname[], t_msh *msh);
**
** DESCRIPTION
-** The subst_var_value() function returns
+** The 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,8 +136,8 @@ static char
*/
char
- *subst_var_value(const char varname[],
- t_msh *msh)
+ *get_var_value(const char varname[],
+ t_msh *msh)
{
/* TODO: check behaviour on empty vars -> "QWE=" */
/* TODO: add support for global variables -> "$hey $nigga..." */