"extern char **environ" in header file
+ global var g_all deleted, renamed switch_heredoc_sigint
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/10/08 02:59:58 by lperrey #+# #+# */
|
||||
/* Updated: 2021/11/26 19:04:25 by lperrey ### ########.fr */
|
||||
/* Updated: 2021/11/26 21:45:26 by lperrey ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
# define MINISHELL_PROTOTYPES_H
|
||||
|
||||
// variable globale
|
||||
int switch_heredoc_sigint;
|
||||
int g_switch_heredoc_sigint;
|
||||
extern char **environ;
|
||||
|
||||
// Init
|
||||
int init(t_all *c);
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/10/08 02:35:52 by lperrey #+# #+# */
|
||||
/* Updated: 2021/11/26 21:28:55 by lperrey ### ########.fr */
|
||||
/* Updated: 2021/11/26 21:53:39 by lperrey ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef MINISHELL_STRUCTS_H
|
||||
# define MINISHELL_STRUCTS_H
|
||||
|
||||
struct s_all *g_all;
|
||||
struct s_all;
|
||||
|
||||
enum e_token_id
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user