diff options
author | landley <landley@driftwood> | 2006-10-30 01:38:00 -0500 |
---|---|---|
committer | landley <landley@driftwood> | 2006-10-30 01:38:00 -0500 |
commit | 09ea7ac1a269db3c9a3b76840b37a7cb1eccbc24 (patch) | |
tree | 83d36320286fee20f7a7b4cc317f9cc3802926fe /main.c | |
parent | 2f588f7f47c43b5949e520b80cfd755a6b4ca4e6 (diff) | |
download | toybox-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; } |