aboutsummaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-03-05 18:18:25 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-03-05 18:18:25 +1300
commit967d0fd7f02a0f79cec5c0f45234846eff2803c5 (patch)
treea201c088c6bd17d4b57d95735a2ea464f34bf0d3 /cmd.c
parentSpecify phony Make targets, reorder (diff)
downloadspsh-967d0fd7f02a0f79cec5c0f45234846eff2803c5.tar.gz
spsh-967d0fd7f02a0f79cec5c0f45234846eff2803c5.zip
More compatible environment passing
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index aa29922..b428d58 100644
--- a/cmd.c
+++ b/cmd.c
@@ -1,7 +1,7 @@
#include "spsh.h"
/* Process a read line into a command and arguments and try to execute it */
-void cmd(char *line, char **environ) {
+void cmd(char *line) {
char *cmd, *cmd_arg;
pid_t pid;
int status, cmd_argc;