From: | Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Thu, 28 Sep 2006 15:29:44 -0700 (PDT) |
pavalos 2006/09/28 15:29:44 PDT DragonFly src repository Modified files: bin/sh Makefile eval.c exec.c expand.c histedit.c input.c main.c options.c options.h parser.c var.c Log: 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. Revision Changes Path 1.7 +1 -1 src/bin/sh/Makefile 1.9 +2 -2 src/bin/sh/eval.c 1.8 +21 -22 src/bin/sh/exec.c 1.7 +2 -1 src/bin/sh/expand.c 1.9 +3 -3 src/bin/sh/histedit.c 1.7 +3 -4 src/bin/sh/input.c 1.6 +2 -2 src/bin/sh/main.c 1.5 +5 -5 src/bin/sh/options.c 1.4 +1 -1 src/bin/sh/options.h 1.8 +19 -31 src/bin/sh/parser.c 1.12 +5 -5 src/bin/sh/var.c http://www.dragonflybsd.org/cvsweb/src/bin/sh/Makefile.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/bin/sh/eval.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/bin/sh/exec.c.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/bin/sh/expand.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/bin/sh/histedit.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/bin/sh/input.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/bin/sh/main.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/bin/sh/options.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/bin/sh/options.h.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/bin/sh/parser.c.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/bin/sh/var.c.diff?r1=1.11&r2=1.12&f=u