summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:07:32 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:07:32 +0200
commit752485802f33a81189b3ff3f6add0f0a8e3ebe7a (patch)
tree3d8938d578589bbe59840160811072a8aa52f7a1
parentNormed b_h (diff)
download42-minishell-752485802f33a81189b3ff3f6add0f0a8e3ebe7a.tar.gz
42-minishell-752485802f33a81189b3ff3f6add0f0a8e3ebe7a.tar.bz2
42-minishell-752485802f33a81189b3ff3f6add0f0a8e3ebe7a.tar.xz
42-minishell-752485802f33a81189b3ff3f6add0f0a8e3ebe7a.tar.zst
42-minishell-752485802f33a81189b3ff3f6add0f0a8e3ebe7a.zip
Normed b_pwd
-rw-r--r--src/b_pwd.c4
-rw-r--r--src/b_pwd.h8
2 files changed, 5 insertions, 7 deletions
diff --git a/src/b_pwd.c b/src/b_pwd.c
index e3da005..11d9afa 100644
--- a/src/b_pwd.c
+++ b/src/b_pwd.c
@@ -20,9 +20,7 @@
#include "u_vars.h"
#include "u_vars_next.h"
-uint8_t
- b_pwd(char *args[],
- t_msh *msh)
+uint8_t b_pwd(char *args[], t_msh *msh)
{
char *cwd;
diff --git a/src/b_pwd.h b/src/b_pwd.h
index 649ce8e..e5ba05d 100644
--- a/src/b_pwd.h
+++ b/src/b_pwd.h
@@ -10,12 +10,12 @@
/* */
/* ************************************************************************** */
-#ifndef B_PWD_H
-#define B_PWD_H
+#ifndef FT_B_PWD_H
+# define FT_B_PWD_H
-#include <stdint.h>
+# include <stdint.h>
-#include "s_struct.h"
+# include "s_struct.h"
uint8_t b_pwd(char *args[], t_msh *msh);