Fix most compiler warnings. The last warnings at WARNS6 will need to be
authorPeter Avalos <pavalos@dragonflybsd.org>
Thu, 28 Sep 2006 22:29:44 +0000 (22:29 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Thu, 28 Sep 2006 22:29:44 +0000 (22:29 +0000)
commit934863d78677417ae0ccb1fbe80b6240bbff1e35
tree08c4b4fe58f6ca1fbf29699241b3ed2be6ef3116
parenta17733227ff0e123d6bba0e2eab6a5889d0250fc
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