summaryrefslogtreecommitdiffstats
path: root/src/p_split.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 19:59:20 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 19:59:20 +0100
commitc5aae008dee36276154882d8fd56c3bdeb473474 (patch)
treea40740914847ebf39a5f8cb3acf6a48c8b9d61ef /src/p_split.h
parentTODO update (diff)
download42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.gz
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.bz2
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.xz
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.zst
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.zip
Now norme
Diffstat (limited to '')
-rw-r--r--src/p_split.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/p_split.h b/src/p_split.h
index 710df74..94ff29f 100644
--- a/src/p_split.h
+++ b/src/p_split.h
@@ -14,7 +14,6 @@
# define P_SPLIT_H
# include <stddef.h>
-# include <stdint.h>
# ifdef __linux__
# include <linux/limits.h>
# else
@@ -24,8 +23,8 @@
typedef struct s_split_block
{
size_t pos[ARG_MAX / 2];
- int8_t nextif[ARG_MAX / 2];
- uint32_t count;
+ char nextif[ARG_MAX / 2];
+ unsigned int count;
} t_split_block;
char **p_split_line(char line[]);