diff --git a/Makefile b/Makefile index 1db8453..1142f9a 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ NAME = minishell CC = gcc -CFLAGS = -Wall -Werror -Wextra -g +CFLAGS = -Werror -Wextra -g LIBS = libftx/libftx.a diff --git a/env.c b/env.c index 3fb243c..7b9ce5b 100644 --- a/env.c +++ b/env.c @@ -6,7 +6,11 @@ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/02/02 14:39:56 by erey-bet #+# #+# */ +<<<<<<< HEAD /* Updated: 2023/02/16 15:13:35 by cchauvet ### ########.fr */ +======= +/* Updated: 2023/02/16 14:30:12 by erey-bet ### ########.fr */ +>>>>>>> origin/master /* */ /* ************************************************************************** */ @@ -106,6 +110,7 @@ char *get_value(char *str) return (s); } +<<<<<<< HEAD void env_del(void *ptr) { t_env *content; @@ -115,6 +120,8 @@ void env_del(void *ptr) free(content->value); } +======= +>>>>>>> origin/master char *get_key(char *str) { char *s; diff --git a/main.c b/main.c index 592cac5..d8e701e 100644 --- a/main.c +++ b/main.c @@ -1,25 +1,16 @@ -#include "libftx/libftx.h" -#include "minishell.h" -#include +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* main.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cchauvet