summaryrefslogtreecommitdiffstats
path: root/src/ft_s_init.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-28 16:10:07 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-28 16:10:07 +0200
commit2c9ad3343cb47d9a83f39fd0077fadf98a0cf30b (patch)
tree29f71aa0189cbd8cfd38b8a24eb768b3607e489b /src/ft_s_init.c
parentduped completely envp (diff)
download42-minishell-2c9ad3343cb47d9a83f39fd0077fadf98a0cf30b.tar.gz
42-minishell-2c9ad3343cb47d9a83f39fd0077fadf98a0cf30b.tar.bz2
42-minishell-2c9ad3343cb47d9a83f39fd0077fadf98a0cf30b.tar.xz
42-minishell-2c9ad3343cb47d9a83f39fd0077fadf98a0cf30b.tar.zst
42-minishell-2c9ad3343cb47d9a83f39fd0077fadf98a0cf30b.zip
Ok argv, envp
Diffstat (limited to 'src/ft_s_init.c')
-rw-r--r--src/ft_s_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ft_s_init.c b/src/ft_s_init.c
index 463cb0b..26b196b 100644
--- a/src/ft_s_init.c
+++ b/src/ft_s_init.c
@@ -33,7 +33,7 @@ static char
}
static char
- **ft_dupenv(char *envp[])
+ **ft_dupenv(char *const envp[])
{
uint64_t i;
char **nenvp;
@@ -59,8 +59,8 @@ static char
}
t_msh
- *ft_init_msh(const char *argv[],
- char *envp[])
+ *ft_init_msh(char *const argv[],
+ char *const envp[])
{
t_msh *msh;