summaryrefslogtreecommitdiffstats
path: root/src/b_export.c
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/b_export.c
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 'src/b_export.c')
-rw-r--r--src/b_export.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/b_export.c b/src/b_export.c
index 04a7bd0..f5d3360 100644
--- a/src/b_export.c
+++ b/src/b_export.c
@@ -12,7 +12,6 @@
#include <libft.h>
#include <stdlib.h>
-#include <stdint.h>
#include "b_env.h"
#include "b_export_next.h"
@@ -101,10 +100,10 @@ static void b_classic_export(char *ptr[], t_msh *msh)
}
}
-uint8_t b_export(char *args[], t_msh *msh)
+unsigned char b_export(char *args[], t_msh *msh)
{
char **ptr;
- uint8_t r;
+ unsigned char r;
if (args[0] == NULL)
return (b_env(NULL, msh));