diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-28 01:26:44 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-28 01:26:44 +0100 |
commit | f6faf88cd0991be3184af67d5fa271b12f70e925 (patch) | |
tree | 02c283541fd2c0b4ccacd31172cccf2ba9711c51 /src/m_argv.c | |
parent | Norming in progress (diff) | |
download | 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.gz 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.bz2 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.xz 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.zst 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.zip |
Norming
Diffstat (limited to 'src/m_argv.c')
-rw-r--r-- | src/m_argv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/m_argv.c b/src/m_argv.c index 90ddd27..655d54b 100644 --- a/src/m_argv.c +++ b/src/m_argv.c @@ -25,12 +25,12 @@ #include "s_struct.h" #include "u_vars.h" -static char *m_get_prev_hist(t_msh *msh) +static char *m_get_prev_hist(t_msh *msh) { struct stat sb; char *hist; char histfile[PATH_MAX]; - int fd; + int fd; hist = NULL; u_get_var_value(histfile, "$HISTFILE", PATH_MAX, msh); @@ -48,7 +48,7 @@ static char *m_get_prev_hist(t_msh *msh) return (hist); } -static void m_read_script(char *const argv[], t_msh *msh) +static void m_read_script(char *const argv[], t_msh *msh) { int fd; @@ -61,7 +61,7 @@ static void m_read_script(char *const argv[], t_msh *msh) close(fd); } -unsigned char m_argv(int argc, char *const argv[], t_msh *msh) +unsigned char m_argv(int argc, char *const argv[], t_msh *msh) { if (argc == 1) { |