"extern char **environ" in header file

+ global var g_all deleted, renamed switch_heredoc_sigint
This commit is contained in:
LuckyLaszlo
2021-11-26 21:58:52 +01:00
parent 07e98c7cf8
commit 843b6d84c5
11 changed files with 16 additions and 26 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/16 01:57:38 by lperrey #+# #+# */
/* Updated: 2021/11/25 18:59:02 by hulamy ### ########.fr */
/* Updated: 2021/11/26 21:51:15 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -14,8 +14,6 @@
int cmd_exec_in_subshell(t_cmd *cmd, t_all *c)
{
extern char **environ;
cmd->pid = fork();
if (cmd->pid == -1)
perror("fork()");