X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=shell%2Fbbsh.c;h=83132f928f415ec844655b42798220d6c775f115;hb=020465218ccff1195a47a890037db37d0395c9d9;hp=ad875abf51c932a72447979d7f64f6ce525924c6;hpb=90a9904e9ef5f2fb70e1952cb1a68bd9213bcde3;p=oweals%2Fbusybox.git diff --git a/shell/bbsh.c b/shell/bbsh.c index ad875abf5..83132f928 100644 --- a/shell/bbsh.c +++ b/shell/bbsh.c @@ -54,7 +54,7 @@ struct command { int flags; // exit, suspend, && || int pid; // pid (or exit code) int argc; - char *argv[0]; + char *argv[]; }; // A collection of processes piped into/waiting on each other. @@ -199,7 +199,7 @@ static void handle(char *command) } int bbsh_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; -int bbsh_main(int argc, char **argv) +int bbsh_main(int argc UNUSED_PARAM, char **argv) { char *command=NULL; FILE *f;