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 /main.c | |
parent | Specify phony Make targets, reorder (diff) | |
download | spsh-967d0fd7f02a0f79cec5c0f45234846eff2803c5.tar.gz spsh-967d0fd7f02a0f79cec5c0f45234846eff2803c5.zip |
More compatible environment passing
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,13 +1,13 @@ #include "spsh.h" /* Entry function */ -int main(int argc, char *argv[], char **environ) { +int main() { /* Show the banner with the warning */ banner(); /* Start looping through commands */ - loop(environ); + loop(); /* If we get to this point, things should be good */ exit(EXIT_SUCCESS); |