summaryrefslogtreecommitdiffstats
path: root/src/ft_s_struct.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_s_struct.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ft_s_struct.h b/src/ft_s_struct.h
index 8c02f9f..6f3cf21 100644
--- a/src/ft_s_struct.h
+++ b/src/ft_s_struct.h
@@ -16,12 +16,12 @@
#include <stdint.h>
#include "ft_d_define.h"
-typedef struct s_com
+typedef struct s_lcom
{
char *com;
char **args;
struct s_com *next;
-} t_com;
+} t_lcom;
typedef struct s_msh
{
@@ -30,7 +30,8 @@ typedef struct s_msh
int32_t ret;
char **bu_ref;
int32_t (*bu_ptr[FT_BUILTINS_COUNT])(struct s_msh*);
- struct s_com *lcom;
+ struct s_lcom *lcom_head;
+ struct s_lcom *lcom;
} t_msh;
#endif