summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 17:41:44 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 17:41:44 +0200
commit2e0fe98f22dfde1b2eafaa27df510da0181102f9 (patch)
tree2a9f832e7699f50c49f5b04d5a5a3e8516129244 /src
parentNormed b_export (diff)
download42-minishell-2e0fe98f22dfde1b2eafaa27df510da0181102f9.tar.gz
42-minishell-2e0fe98f22dfde1b2eafaa27df510da0181102f9.tar.bz2
42-minishell-2e0fe98f22dfde1b2eafaa27df510da0181102f9.tar.xz
42-minishell-2e0fe98f22dfde1b2eafaa27df510da0181102f9.tar.zst
42-minishell-2e0fe98f22dfde1b2eafaa27df510da0181102f9.zip
Normed
Diffstat (limited to 'src')
-rw-r--r--src/b_export.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/b_export.c b/src/b_export.c
index 8b72b64..04a7bd0 100644
--- a/src/b_export.c
+++ b/src/b_export.c
@@ -25,7 +25,7 @@
#include "u_utils.h"
#include "u_vars.h"
-t_bool check_valid_identifier(const char arg[])
+t_bool check_valid_identifier(const char arg[])
{
char *ptr;
@@ -37,7 +37,7 @@ t_bool check_valid_identifier(const char arg[])
return (FALSE);
}
-t_bool check_equals(const char *arg)
+t_bool check_equals(const char *arg)
{
char *ptr;
@@ -53,9 +53,9 @@ t_bool check_equals(const char *arg)
return (FALSE);
}
-void b_add_to_env_from_globals(const char varname[],
- const char var[],
- t_msh *msh)
+void b_add_to_env_from_globals(const char varname[],
+ const char var[],
+ t_msh *msh)
{
size_t i;
char **nenvp;
@@ -101,7 +101,7 @@ static void b_classic_export(char *ptr[], t_msh *msh)
}
}
-uint8_t b_export(char *args[], t_msh *msh)
+uint8_t b_export(char *args[], t_msh *msh)
{
char **ptr;
uint8_t r;