diff options
Diffstat (limited to '')
-rw-r--r-- | src/b_unset.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/src/b_unset.c b/src/b_unset.c index 116a1b3..d5e7b1b 100644 --- a/src/b_unset.c +++ b/src/b_unset.c @@ -19,8 +19,7 @@ #include "s_struct.h" #include "u_utils.h" -static t_bool - check_valid_identifier(const char arg[]) +static t_bool check_valid_identifier(const char arg[]) { char *ptr; t_bool r; @@ -46,9 +45,7 @@ static t_bool return (r); } -static void - b_realloc_env(size_t skip, - t_msh *msh) +static void b_realloc_env(size_t skip, t_msh *msh) { char **nenvp; int8_t skipped; @@ -79,9 +76,7 @@ static void msh->envp = nenvp; } -static t_bool - b_removed_from_env(const char arg[], - t_msh *msh) +static t_bool b_removed_from_env(const char arg[], t_msh *msh) { char **env_dup; size_t i; @@ -102,7 +97,7 @@ static t_bool return (FALSE); } -static void b_remove_it(const char arg[], t_msh *msh) +static void b_remove_it(const char arg[], t_msh *msh) { if (b_removed_from_env(arg, msh) == FALSE) { @@ -110,9 +105,7 @@ static void b_remove_it(const char arg[], t_msh *msh) } } -uint8_t - b_unset(char *args[], - t_msh *msh) +uint8_t b_unset(char *args[], t_msh *msh) { char **ptr; t_bool next; |