aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorlandley <landley@driftwood>2006-10-30 01:38:00 -0500
committerlandley <landley@driftwood>2006-10-30 01:38:00 -0500
commit09ea7ac1a269db3c9a3b76840b37a7cb1eccbc24 (patch)
tree83d36320286fee20f7a7b4cc317f9cc3802926fe /main.c
parent2f588f7f47c43b5949e520b80cfd755a6b4ca4e6 (diff)
downloadtoybox-09ea7ac1a269db3c9a3b76840b37a7cb1eccbc24.tar.gz
Implement df. Add -Wall to build and fix up warnings. Add copyright notices.
Add error_msg() and itoa() to library. Remove argc from globals (since argv is null terminated), add optflags to globals.
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.c b/main.c
index 57fb7f4e..c4b38cd4 100644
--- a/main.c
+++ b/main.c
@@ -58,7 +58,6 @@ void toy_init(struct toy_list *which, char *argv[])
toys.which = which;
toys.argv = argv;
- for (toys.argc = 0; argv[toys.argc]; toys.argc++);
toys.exitval = 1;
}