diff options
Diffstat (limited to 'src/u_utils.c')
-rw-r--r-- | src/u_utils.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/u_utils.c b/src/u_utils.c index 5394705..902b7a8 100644 --- a/src/u_utils.c +++ b/src/u_utils.c @@ -18,7 +18,7 @@ #include "f_fail.h" #include "s_struct.h" -t_bool u_is_not_escaped(const char *head, const char *ptr) +t_bool u_is_not_escaped(const char *head, const char *ptr) { if (((ptr - head) == 0) || ((ptr - head) >= 1 && *(ptr - 1) != C_BACKS) || @@ -27,7 +27,7 @@ t_bool u_is_not_escaped(const char *head, const char *ptr) return (FALSE); } -void u_eof_fd(int fd) +void u_eof_fd(int fd) { char *line; @@ -36,7 +36,7 @@ void u_eof_fd(int fd) ft_memdel((void*)&line); } -char **u_get_env_var_names(t_msh *msh) +char **u_get_env_var_names(t_msh *msh) { char **vars; size_t i; @@ -72,10 +72,10 @@ unsigned long u_builtins_get_argc(const char *args[]) return (argc); } -unsigned char u_get_builtin_id(const char bin[]) +unsigned char u_get_builtin_id(const char bin[]) { - char tmp[M_BUILTINS_REF_LEN]; - char *tok; + char tmp[M_BUILTINS_REF_LEN]; + char *tok; unsigned char i; i = 0; |