summaryrefslogtreecommitdiffstats
path: root/src/f_alloc.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-01 18:28:11 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-01 18:28:11 +0200
commit6bbc691aa2e430fe4e9ad52afba1e7672f87c288 (patch)
tree55740462d9ca92b22a0be23312ce5a8851f82e3b /src/f_alloc.c
parentNormed e_redirs (diff)
download42-minishell-6bbc691aa2e430fe4e9ad52afba1e7672f87c288.tar.gz
42-minishell-6bbc691aa2e430fe4e9ad52afba1e7672f87c288.tar.bz2
42-minishell-6bbc691aa2e430fe4e9ad52afba1e7672f87c288.tar.xz
42-minishell-6bbc691aa2e430fe4e9ad52afba1e7672f87c288.tar.zst
42-minishell-6bbc691aa2e430fe4e9ad52afba1e7672f87c288.zip
Normed f_alloc
Diffstat (limited to '')
-rw-r--r--src/f_alloc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/f_alloc.c b/src/f_alloc.c
index 721cf34..dc3f589 100644
--- a/src/f_alloc.c
+++ b/src/f_alloc.c
@@ -20,8 +20,7 @@
#include "s_line.h"
#include "s_struct.h"
-void
- f_alloc_and_destroy_msh(t_msh *msh)
+void f_alloc_and_destroy_msh(t_msh *msh)
{
char tmp[255];
@@ -32,8 +31,7 @@ void
exit(M_RET_ALLOC);
}
-void
- f_alloc_and_clear_line(t_msh *msh)
+void f_alloc_and_clear_line(t_msh *msh)
{
s_line_clear(&msh->curr);
ft_dprintf(STDERR_FILENO, "%s: %s\n", msh->argv[0], strerror(errno));