summaryrefslogtreecommitdiffstats
path: root/src/p_redirs.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_redirs.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_redirs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/p_redirs.h b/src/p_redirs.h
index 2e0c996..6ca4230 100644
--- a/src/p_redirs.h
+++ b/src/p_redirs.h
@@ -13,7 +13,6 @@
#ifndef P_REDIRS_H
# define P_REDIRS_H
-# include <stdint.h>
# include "s_struct.h"
@@ -27,9 +26,9 @@ struct s_rdr_tmp
{
const char *word;
char *ptr;
- int8_t redir;
+ char redir;
};
-int8_t p_redirs(char word[], t_com **com, t_msh *msh);
+char p_redirs(char word[], t_com **com, t_msh *msh);
#endif