summaryrefslogtreecommitdiffstats
path: root/src/u_vars.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-15 19:59:41 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-15 19:59:41 +0200
commitca2e36781039eb7e9901ccde395600e7af87ff4f (patch)
tree8a9d85433e943fbbd079bc55700e048a54d9bf24 /src/u_vars.h
parenttype builtin fix (diff)
download42-minishell-ca2e36781039eb7e9901ccde395600e7af87ff4f.tar.gz
42-minishell-ca2e36781039eb7e9901ccde395600e7af87ff4f.tar.bz2
42-minishell-ca2e36781039eb7e9901ccde395600e7af87ff4f.tar.xz
42-minishell-ca2e36781039eb7e9901ccde395600e7af87ff4f.tar.zst
42-minishell-ca2e36781039eb7e9901ccde395600e7af87ff4f.zip
Huge fixes and stack stuff
Diffstat (limited to 'src/u_vars.h')
-rw-r--r--src/u_vars.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/u_vars.h b/src/u_vars.h
index 27c975f..c76518e 100644
--- a/src/u_vars.h
+++ b/src/u_vars.h
@@ -13,6 +13,7 @@
#ifndef U_VARS_H
#define U_VARS_H
+#include <stdint.h>
#include <stddef.h>
#include "s_struct.h"
@@ -21,7 +22,7 @@ void u_get_custom_var(char str[],
const char varname[],
size_t dstsize,
t_msh *msh);
-void u_get_var_value(char str[],
+uint8_t u_get_var_value(char str[],
const char varname[],
size_t dstsize,
t_msh *msh);