diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 21:11:02 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 21:11:02 +0100 |
commit | ea373d1d6b23447b72c3ba6504a9027df559599b (patch) | |
tree | db71addcffda4e130b7fd920b74ab7e3f0a2d70d /src/b_export_next.c | |
parent | Normed libft (diff) | |
download | 42-minishell-ea373d1d6b23447b72c3ba6504a9027df559599b.tar.gz 42-minishell-ea373d1d6b23447b72c3ba6504a9027df559599b.tar.bz2 42-minishell-ea373d1d6b23447b72c3ba6504a9027df559599b.tar.xz 42-minishell-ea373d1d6b23447b72c3ba6504a9027df559599b.tar.zst 42-minishell-ea373d1d6b23447b72c3ba6504a9027df559599b.zip |
Norming in progress
Diffstat (limited to 'src/b_export_next.c')
-rw-r--r-- | src/b_export_next.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/b_export_next.c b/src/b_export_next.c index a1cae4a..975a579 100644 --- a/src/b_export_next.c +++ b/src/b_export_next.c @@ -21,7 +21,7 @@ #include "u_utils.h" #include "u_vars.h" -static char **b_get_var(const char arg[], t_msh *msh) +static char **b_get_var(const char arg[], t_msh *msh) { size_t len; char **var; @@ -62,7 +62,7 @@ static long b_is_it_in_env(const char varname[], t_msh *msh) return (-1); } -static void b_add_to_env(const char arg[], t_msh *msh) +static void b_add_to_env(const char arg[], t_msh *msh) { size_t i; char **nenvp; @@ -86,7 +86,7 @@ static void b_add_to_env(const char arg[], t_msh *msh) msh->envp = nenvp; } -void b_export_with_equals(const char arg[], t_msh *msh) +void b_export_with_equals(const char arg[], t_msh *msh) { char varval[4096]; char **var; |