summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 16:53:07 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 16:53:07 +0200
commit4c8c0f2da67d04a249bc0a03c63afecdd7642deb (patch)
treecba4ff398baa83770fa4e09159b69a9fee81f744 /src
parentNormed s_struct (diff)
download42-minishell-4c8c0f2da67d04a249bc0a03c63afecdd7642deb.tar.gz
42-minishell-4c8c0f2da67d04a249bc0a03c63afecdd7642deb.tar.bz2
42-minishell-4c8c0f2da67d04a249bc0a03c63afecdd7642deb.tar.xz
42-minishell-4c8c0f2da67d04a249bc0a03c63afecdd7642deb.tar.zst
42-minishell-4c8c0f2da67d04a249bc0a03c63afecdd7642deb.zip
Normed s_alias
Diffstat (limited to 'src')
-rw-r--r--src/u_alias.c6
-rw-r--r--src/u_alias.h8
2 files changed, 6 insertions, 8 deletions
diff --git a/src/u_alias.c b/src/u_alias.c
index 14ca75e..09e376c 100644
--- a/src/u_alias.c
+++ b/src/u_alias.c
@@ -18,8 +18,7 @@
#include "s_lalias.h"
#include "s_struct.h"
-size_t
- u_get_alias_value(char str[], const char name[], size_t dstsize, t_msh *msh)
+size_t u_get_alias_value(char str[], const char name[], size_t dstsize, t_msh *msh)
{
t_lalias *ptr;
@@ -43,8 +42,7 @@ size_t
return (ptr->id);
}
-void
- u_set_alias_value(const char name[], const char value[], t_msh *msh)
+void u_set_alias_value(const char name[], const char value[], t_msh *msh)
{
t_lalias *new;
diff --git a/src/u_alias.h b/src/u_alias.h
index 59860db..341f8be 100644
--- a/src/u_alias.h
+++ b/src/u_alias.h
@@ -10,12 +10,12 @@
/* */
/* ************************************************************************** */
-#ifndef U_ALIAS_H
-#define U_ALIAS_H
+#ifndef FT_U_ALIAS_H
+# define FT_U_ALIAS_H
-#include <stddef.h>
+# include <stddef.h>
-#include "s_struct.h"
+# include "s_struct.h"
uint8_t u_get_alias_value(char str[],
const char name[],