aboutsummaryrefslogtreecommitdiff
path: root/main.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 /main.c
parentSpecify phony Make targets, reorder (diff)
downloadspsh-967d0fd7f02a0f79cec5c0f45234846eff2803c5.tar.gz
spsh-967d0fd7f02a0f79cec5c0f45234846eff2803c5.zip
More compatible environment passing
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index a89b1b4..55b8b00 100644
--- a/main.c
+++ b/main.c
@@ -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);