diff --git a/headers/minishell_prototypes.h b/headers/minishell_prototypes.h index 2ea0fab..fb0f4ab 100644 --- a/headers/minishell_prototypes.h +++ b/headers/minishell_prototypes.h @@ -6,14 +6,14 @@ /* By: lperrey +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2021/10/08 02:59:58 by lperrey #+# #+# */ -/* Updated: 2021/12/17 21:16:53 by lperrey ### ########.fr */ +/* Updated: 2021/12/20 14:58:00 by hulamy ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef MINISHELL_PROTOTYPES_H # define MINISHELL_PROTOTYPES_H -int g_switch_heredoc_sigint; +extern int g_switch_heredoc_sigint; extern char **environ; // Init diff --git a/minishell_tests b/minishell_tests index 21c56c3..863e48a 160000 --- a/minishell_tests +++ b/minishell_tests @@ -1 +1 @@ -Subproject commit 21c56c3985a5af91731cfeef40690d767841f4d0 +Subproject commit 863e48a4fa901a49f7493e9267c18c16f80bad98 diff --git a/srcs/main.c b/srcs/main.c index 8ad47bd..9819607 100644 --- a/srcs/main.c +++ b/srcs/main.c @@ -6,12 +6,14 @@ /* By: lperrey +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2021/10/04 05:59:26 by lperrey #+# #+# */ -/* Updated: 2021/12/18 05:08:48 by lperrey ### ########.fr */ +/* Updated: 2021/12/20 14:57:48 by hulamy ### ########.fr */ /* */ /* ************************************************************************** */ #include "minishell.h" +int g_switch_heredoc_sigint; + int main(int argc, char *argv[]) { t_all c;