summaryrefslogtreecommitdiffstats
path: root/src/ft_s_struct.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-30 17:27:33 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-30 17:27:33 +0200
commit25f16106a8f4e9be81d5f415783a0675580605bc (patch)
treebb3c96fda7d97c5d6a8fa056515756dd26d301a7 /src/ft_s_struct.h
parentyessaye (diff)
parentBSD magick test (diff)
download42-minishell-25f16106a8f4e9be81d5f415783a0675580605bc.tar.gz
42-minishell-25f16106a8f4e9be81d5f415783a0675580605bc.tar.bz2
42-minishell-25f16106a8f4e9be81d5f415783a0675580605bc.tar.xz
42-minishell-25f16106a8f4e9be81d5f415783a0675580605bc.tar.zst
42-minishell-25f16106a8f4e9be81d5f415783a0675580605bc.zip
Merge branch 'vars'
Diffstat (limited to '')
-rw-r--r--src/ft_s_struct.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ft_s_struct.h b/src/ft_s_struct.h
index 5b99acb..b6804bf 100644
--- a/src/ft_s_struct.h
+++ b/src/ft_s_struct.h
@@ -26,12 +26,12 @@
** 0: means no redirection
*/
-typedef struct s_vars
+typedef struct s_lvars
{
char *name;
char *val;
- struct s_vars *next;
-} t_vars;
+ struct s_lvars *next;
+} t_lvars;
typedef struct s_lcom
{
@@ -53,7 +53,7 @@ typedef struct s_msh
char **bu_ref;
uint8_t (*bu_ptr[FT_BUILTINS_COUNT])(char **, struct s_msh*);
struct s_lcom *curr;
- struct s_vars *vars;
+ struct s_lvars *vars;
} t_msh;
#endif