diff options
Diffstat (limited to 'src/e_unshebanged.c')
-rw-r--r-- | src/e_unshebanged.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/e_unshebanged.c b/src/e_unshebanged.c index fabba8a..49978a9 100644 --- a/src/e_unshebanged.c +++ b/src/e_unshebanged.c @@ -10,15 +10,15 @@ /* */ /* ************************************************************************** */ +#include <errno.h> #include <libft.h> -#include <stdlib.h> -#include <unistd.h> #ifdef __linux__ # include <linux/limits.h> #else # include <limits.h> #endif -#include <errno.h> +#include <stdlib.h> +#include <unistd.h> #include "f_fail.h" #include "s_struct.h" @@ -30,8 +30,8 @@ static char **e_get_new_argv(const char fullpath[], t_com *ptr, t_msh *msh) { - char **argv; size_t i; + char **argv; if ((argv = (char**)malloc((3 + u_builtins_get_argc((const char**)ptr->argv)) * sizeof(char*))) == NULL) |