Fix most compiler warnings. The last warnings at WARNS6 will need to be
commit3bea275ed558ec7d02ab54842dafa27450bab6ff
authorPeter Avalos <pavalos@dragonflybsd.org>
Thu, 28 Sep 2006 22:29:44 +0000 (28 22:29 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Thu, 28 Sep 2006 22:29:44 +0000 (28 22:29 +0000)
tree88e1fbab6fd8796a5ced05d69a4a4a827af2eb2f
parent18b4d9482e05b2dfb21d12c2b002d38559d7ccbc
Fix most compiler warnings.  The last warnings at WARNS6 will need to be
fixed in usr.bin/printf.

Remove nested externs.

Rename local variables shadowing globals.

Some changes taken from NetBSD.
bin/sh/Makefile
bin/sh/eval.c
bin/sh/exec.c
bin/sh/expand.c
bin/sh/histedit.c
bin/sh/input.c
bin/sh/main.c
bin/sh/options.c
bin/sh/options.h
bin/sh/parser.c
bin/sh/var.c