diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-05 18:18:25 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-05 18:18:25 +1300 |
commit | 967d0fd7f02a0f79cec5c0f45234846eff2803c5 (patch) | |
tree | a201c088c6bd17d4b57d95735a2ea464f34bf0d3 /cmd.c | |
parent | Specify phony Make targets, reorder (diff) | |
download | spsh-967d0fd7f02a0f79cec5c0f45234846eff2803c5.tar.gz spsh-967d0fd7f02a0f79cec5c0f45234846eff2803c5.zip |
More compatible environment passing
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |