summaryrefslogtreecommitdiffstats
path: root/src/s_lalias.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 16:42:01 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 16:42:01 +0200
commit9b781813c134a86dfce6add1abe999c96e1962cb (patch)
tree4a20f5bdea94c321e795554e8efcc7a822afd1f6 /src/s_lalias.c
parentNormed s_init (diff)
download42-minishell-9b781813c134a86dfce6add1abe999c96e1962cb.tar.gz
42-minishell-9b781813c134a86dfce6add1abe999c96e1962cb.tar.bz2
42-minishell-9b781813c134a86dfce6add1abe999c96e1962cb.tar.xz
42-minishell-9b781813c134a86dfce6add1abe999c96e1962cb.tar.zst
42-minishell-9b781813c134a86dfce6add1abe999c96e1962cb.zip
Normed s_lalias
Diffstat (limited to '')
-rw-r--r--src/s_lalias.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/s_lalias.c b/src/s_lalias.c
index a31909b..42d9fff 100644
--- a/src/s_lalias.c
+++ b/src/s_lalias.c
@@ -18,8 +18,7 @@
#include "s_struct.h"
-void
- s_lalias_rebind(t_lalias **lalias, const char name[], const char newval[])
+void s_lalias_rebind(t_lalias **lalias, const char name[], const char newval[])
{
t_lalias *tmp;
@@ -39,8 +38,7 @@ void
}
}
-void
- s_lalias_add_front(t_lalias **lalias, t_lalias *new)
+void s_lalias_add_front(t_lalias **lalias, t_lalias *new)
{
if (lalias == NULL || new == NULL)
{
@@ -50,8 +48,7 @@ void
*lalias = new;
}
-void
- s_lalias_clear(t_lalias **lalias)
+void s_lalias_clear(t_lalias **lalias)
{
t_lalias *tmp;
t_lalias *renext;
@@ -70,8 +67,7 @@ void
*lalias = NULL;
}
-t_lalias
- *s_lalias_new(const char name[], const char val[])
+t_lalias *s_lalias_new(const char name[], const char val[])
{
t_lalias *link;
static size_t id = 1;