summaryrefslogtreecommitdiffstats
path: root/src/e_externs.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/e_externs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/e_externs.c b/src/e_externs.c
index a27e4ca..6e1e75a 100644
--- a/src/e_externs.c
+++ b/src/e_externs.c
@@ -38,7 +38,7 @@
static void e_extern_child(const char fullpath[], t_com *ptr, t_msh *msh)
{
char buff[7];
- int fd;
+ int fd;
if ((fd = open(fullpath, O_RDONLY)) != -1)
{
@@ -95,7 +95,7 @@ static void e_exec_path(const char fullpath[],
t_msh *msh)
{
pid_t pid;
- int status;
+ int status;
if ((pid = fork()) == 0)
{
@@ -119,7 +119,7 @@ static void e_exec_path(const char fullpath[],
void e_extern(t_com *ptr, t_msh *msh)
{
- char fullpath[PATH_MAX];
+ char fullpath[PATH_MAX];
unsigned char fp_ret;
fullpath[0] = C_NUL;