diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/debug_tools.h | 24 | ||||
| -rw-r--r-- | include/minishell.h | 6 |
2 files changed, 29 insertions, 1 deletions
diff --git a/include/debug_tools.h b/include/debug_tools.h new file mode 100644 index 0000000..e831ecc --- /dev/null +++ b/include/debug_tools.h @@ -0,0 +1,24 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* debug_tools.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2024/06/24 18:34:37 by dkaiser #+# #+# */ +/* Updated: 2024/06/24 18:51:53 by dkaiser ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef DEBUG_TOOLS_H +# define DEBUG_TOOLS_H + +# include "libft.h" + +# ifndef DEBUG +# define DEBUG 0 +# endif + +void dbg(char *str); +void panic(char *msg); +#endif diff --git a/include/minishell.h b/include/minishell.h index 7408dd6..9ebc58f 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -6,10 +6,14 @@ /* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/22 17:14:49 by dkaiser #+# #+# */ -/* Updated: 2024/06/22 17:16:15 by dkaiser ### ########.fr */ +/* Updated: 2024/06/24 18:51:30 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef MINISHELL_H # define MINISHELL_H + +# include "debug_tools.h" +# include "libft.h" + #endif |
