summaryrefslogtreecommitdiffstats
path: root/src/m_argv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/m_argv.c')
-rw-r--r--src/m_argv.c8
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)
{