summaryrefslogtreecommitdiffstats
path: root/src/f_fail.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-30 20:30:58 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-30 20:30:58 +0200
commitc19bd35afdb45e49cebdfd96e7adb1e6fe477f0c (patch)
treec5a7655d5fa858da43b0c9e3f1f616d269aae172 /src/f_fail.h
parentWork in progress, freed leak (diff)
download42-minishell-c19bd35afdb45e49cebdfd96e7adb1e6fe477f0c.tar.gz
42-minishell-c19bd35afdb45e49cebdfd96e7adb1e6fe477f0c.tar.bz2
42-minishell-c19bd35afdb45e49cebdfd96e7adb1e6fe477f0c.tar.xz
42-minishell-c19bd35afdb45e49cebdfd96e7adb1e6fe477f0c.tar.zst
42-minishell-c19bd35afdb45e49cebdfd96e7adb1e6fe477f0c.zip
Double exit no more
Diffstat (limited to '')
-rw-r--r--src/f_fail.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/f_fail.h b/src/f_fail.h
index 9699eee..868fe75 100644
--- a/src/f_fail.h
+++ b/src/f_fail.h
@@ -13,18 +13,19 @@
#ifndef F_FAIL_H
#define F_FAIL_H
+#include "f_com.h"
#include "f_chdir.h"
#include "f_errno.h"
#include "f_redir.h"
#include "s_struct.h"
-void fail_no_options(const char concern[],
+void f_fail_no_options(const char concern[],
t_msh *msh);
-void fail_too_many_args(const char concern[],
+void f_fail_too_many_args(const char concern[],
t_msh *msh);
-void fail_identifier(const char concern[],
+void f_fail_identifier(const char concern[],
const char identifier[],
t_msh *msh);
-void fail_alloc(t_msh *msh);
+void f_fail_alloc(t_msh *msh);
#endif