From 85e83d4179e0a0e4d7c07aff750cab9478e461b9 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 7 Aug 2020 15:09:31 +0200 Subject: Forked builtins --- src/b_export.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/b_export.c') diff --git a/src/b_export.c b/src/b_export.c index 4e3b4c7..0b5dbf6 100644 --- a/src/b_export.c +++ b/src/b_export.c @@ -25,7 +25,7 @@ #include "u_utils.h" #include "u_vars.h" -static t_bool +t_bool check_valid_identifier(const char arg[]) { char *ptr; @@ -38,7 +38,7 @@ static t_bool return (FALSE); } -static t_bool +t_bool check_equals(const char *arg) { char *ptr; @@ -55,7 +55,7 @@ static t_bool return (FALSE); } -static void +void b_add_to_env_from_globals(const char varname[], const char var[], t_msh *msh) @@ -95,9 +95,7 @@ uint8_t uint8_t r; if (args[0] == NULL) - { return (b_env(NULL, msh)); - } r = 0; ptr = args; while (*ptr != NULL) -- cgit v1.2.3